show image in image control from database...

Posted by Gopal_nivas under ASP.NET on 9/4/2009 | Views : 18494 | Status : [Member] | Replies : 3
hi..

i want to retrieve image from database and to show it in "image control"..

need ur suggestions...


regards
gopal.s




Responses

Posted by: Satyapriyanayak on: 8/9/2013 [Member] [MVP] Silver | Points: 25

Up
0
Down
http://www.c-sharpcorner.com/uploadfile/17e8f6/inserting-and-reading-image-tofrom-database-in-Asp-Net-web-application-in-image-control/

If this post helps you mark it as answer
Thanks

Gopal_nivas, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Vuyiswamb on: 9/4/2009 [Member] [MVP] [Administrator] NotApplicable

Up
0
Down
Good Day

Look at this

http://www.dotnettutorials.com/tutorials/database/save-retrieve-image-cs.aspx


http://www.aspnettutorials.com/tutorials/database/saving-retrieving-image-cs.aspx

http://stackoverflow.com/questions/698912/asp-net-store-image-in-sql-and-retrieve-for-aspimage

Thank you for posting at DotnetFunda

Vuyiswa Maseko

Thank you for posting at Dotnetfunda
[Administrator]

Gopal_nivas, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Rtpharry on: 9/4/2009 [Member] [MVP] Bronze

Up
0
Down
Hey,

It would be a better design if you put this image data on the filesystem and then simply store the url in the database. It would reduce the strain on the database.

However if you are already tied to this architecture then you can use the following control which was introduced .net 3.5:

http://www.codedigest.com/Articles/ASPNET/119_New_Image_Generator_control_in_ASPNet_35.aspx

It you arent using .net 3.5 then I suggest checking out some of the other links further up this thread.

Gopal_nivas, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response