Hii..
i have inserted a binary data of an image to database successfully. my requirement is when i ll be in edit profile page all the data will be there and while updating the page if there is no new file selected by the Fileuploader control then the existing
binary data should insert into database. i have used a Generic handler for inserting the image..
.......here is my code for inserting.......
if (FileUpload1.HasFile)
{
string Extension = System.IO.Path.GetExtension(FileUpload1.FileName);
if (Extension.ToLower() != ".gif" && Extension.ToLower() != &qu ...
Go to the complete details ...