C# .NET - Get varbinary data in sql server 2005

Asked By Bookworm on 23-Feb-12 08:34 AM
Hi

I have a sql table which has a field type varbinary (in this field is stored the content of files attached from users)
now i need to retrieve this field and to show on the grid the files.
any idea how can i do this? thnx a lot!
Web Star replied to Bookworm on 23-Feb-12 10:18 AM
See this article show how can display varbinary data from database in datagrid in asp.net
http://www.aspsnippets.com/Articles/Display-images-from-SQL-Server-Database-in-ASP.Net-GridView-control.aspx

hope this helps you