Click to See Complete Forum and Search --> : Insert picture from sqlserver to aspx file problem


markov_alex
November 20th, 2004, 01:06 PM
Hi all.
In my server side aspx code I have DataTable object with picture field. I need to insert those puicters from DataTable into image web controles in the loop.
Please somebody tell me how to do it.

Rohit Kukreti
November 22nd, 2004, 05:52 AM
Try searching for 'BLOB' or "storing and retrieving images in database". You can insert the 'BLOB' data in the <img> tag. But, I'm not how do you do it with ASP.Net. I would rather suggest storing the image path name in the database and then displaying it with <img> tag.

hope this helps
----
Rohit