Retreive image from SQL and display in a UserControl.ascx
I working in Visual Studio 2003 Visual Basic. SQL server 2000 is the database.
I want to create a usercontrol.ascx that will retrieve jpeg images stored in a SQL table as 'image' and display the image inside the usercontrol.ascx, either in a datalist or simply within a html table.
Can anyone show how this is done. It seems like a black art. I cant find a single example, yet I would have thought it was a fundemental process.
I am reasonably competent with ADO.Net so can store an image in the SQL table and retreive it, I dont know how to use that data to rebuild the image and display it within the usercontrol.ascx.
Any help, even code examples and working sites would be much appreciated.
Scamps
Re: Retreive image from SQL and display in a UserControl.ascx