hi to all,
strsql = ConfigurationManager.ConnectionStrings["ShoppingConnectionString"].ConnectionString;
conn = new SqlConnection(strsql);
conn.Open();
if (FileUpload1.PostedFile != null
&& FileUpload1.PostedFile.FileName != "")
{
myimage = new byte[FileUpload1.PostedFile.ContentLength];
HttpPostedFile Image = FileUpload1.PostedFile;
Image.InputStream.Read(myimage, 0, (int)FileUpload1.PostedFile.ContentLength);
&nb ...
Go to the complete details ...