Binding the image Control with byte File upload control on client side show image using byte array //File upload control on change to post the method fileupload control and image control should be in update panel <asp:FileUpload ID="FileUpload1" runat="server" onchange="this.form.submit();" /> image control on page // on page load if (FileUpload1.PostedFile != null && FileUpload1.PostedFile. ContentLength > 0) { UploadImage(); } // upload image method void UploadImage() { //Session["File"] = fluPicture.FileBytes; //Session["Name"] = fluPicture.FileName; // st...
ASP.NET || Javascript || Dataobject || Code Solutions Free Open Source code for Developers