2
Reply

Storing images and retrieving from SQL SERVER 2005. Please help.

Kajin

Kajin

Jun 22 2011 12:21 PM
8.1k
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.

Answers (2)