I want to store images of .JPG format to sql server database and retrieve it back in another webform.
Form1:
In this there will be a textbox for name of the person, one fileupload control and one button to upload. When the user enters the name, select the jpg file and click on upload button, it should store the image and name in the database.
Form2:
In this there will be a textbox for the name of the person, a Image control and one show button. When the user enters a name in the textbox and clicks on show button, it should display that person's image in the Image control.
I dont want to save the image file.
Storing images and retrieving from SQL SERVER 2005. Please help.
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Pradeep ChandrakerRank #941 · 2.2K reputationPosted Jun 22, 2011, 9:50 AM EDT
http://www.dotnetcurry.com/ShowArticle.aspx?ID=129
Jaganathan BantheswaranRank #170 · 14.1K reputationPosted Jun 22, 2011, 8:32 AM EDT
Read this
Inserting & Retrieving Images from SQL Server Database without using Stored Procedures
Adding and retrieving Images from a SQL Server Table