How can I display image from SQL Binary field on Image control?
ASP.NET
2
Posts
2
Posters
0
Views
1
Watching
-
I need to display image on IMAGE control at my ASP.NET page. Image is saved on SQL binary field. How can I retrive image from binary field and display on Image control? Please help me.
This gets asked at least four times a day. Write a HTTP handler that takes the id of the image and streams back the bytes, and then put links to that handler in your img tags
Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )