Byte[] img = null; Session["image"] = EmpImg; if (Session["image"] != null) { FileUpload FUEMP = (FileUpload)Session["image"]; if (FUEMP.HasFile && FUEMP.PostedFile != null) { HttpPostedFile Myfile = FUEMP.PostedFile; img = new Byte[Myfile.ContentLength]; Myfile.InputStream.Read(img, 0, Myfile.ContentLength); } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)