string target; FileUpload1.FileContent.Seek(0, SeekOrigin.Begin); FileUpload1.PostedFile.InputStream.Read(pic, 0, len);
if(FileUpload1.HasFile) FileUpload1.SaveAs(target);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)