Groups | Blog | Home
all groups > asp.net webcontrols > october 2004 >

asp.net webcontrols : How can I load a picture from the database and display it on the form


Comfort
10/7/2004 10:50:19 AM
How can load a picture already saved into the database and display it on the
form using the VB.NET? Up to now I have already managed to take a picture
from any storage drive and save it into the database and take it back to any
storage drive. The issue is on how can I take it directly from the database
and display it on my Webform. Any help on this

Ken Cox [Microsoft MVP]
10/8/2004 11:33:01 AM
You need to use the concept of binary objects from here

HOW TO: Read and Write BLOB Data by Using ADO.NET Through ASP.NET

http://support.microsoft.com/default.aspx?scid=kb;en-us;326502

and combine it with the basic technique from here

http://authors.aspalliance.com/stevesmith/articles/imagequery.asp

But update it for ASP.NET rather than old ASP.


[quoted text, click to view]
AddThis Social Bookmark Button