Inserting an Image to SqlServer

Add New Person
Name
Email
Sex
Date Of Birth
Image
Note: When you click the button, all the existing rows will be removed from the table. This is to protect the size of the database. So, when you are trying to add a second row, the previous insert will be deleted.

But the sample provided works just fine. Once you have clicked the button, "Add Person" please wait for some time, since the uploading of image takes some time.

To Read images from SqlServer read my article Retrieving Images from SqlServer in ASP .NET



Send your comments to das@aspalliance.com        Back to Article list