if (FileUpload1.HasFile) { using (BinaryReader reader = new BinaryReader (FileUpload1.PostedFile.InputStream)) { (FileUpload1.PostedFile.ContentLength); imagedata = new byte [FileUpload1.PostedFile.ContentLength]; HttpPostedFile uploadedImage = FileUpload1.PostedFile; uploadedImage.InputStream.Read (imagedata, 0, (int)FileUpload1.PostedFile.ContentLength); }
{system Byte[]}
db
varbinary(max)
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)