Paulo said:
Hi, how are you ? Can you send me any examples about storing images on bd
and showing them on gridview? Im using VS2005 asp.net 2.0 C#
Hi Paulo. Check out this article:
Storing Binary Files Directly in the Database Using ASP.NET 2.0
http://aspnet.4guysfromrolla.com/articles/120606-1.aspx
It provides a complete, working demo at the end of the article that
shows how to save images in the database. The demo does not use a
GridView to show the images, but it does use a FormView. In any event,
for a GridView (or DetailsView), you could use either a TemplateField
and use the techniques shown in the demo or use an ImageField instead.