Posted on: 9/9/2015 10:24:16 PM | Views : 766

Hello
I have post this code before i fix the part that i was looking for, but i am looking to add more options for this button code. As i am looking from code after checking that FileUpload has no file, to check also each Img column if it has image stored before if yes then keep the old image and process the rest of the code if there is no image into column and there is no File into FileUpload then add imgnouser, the below part of the code it may explain what i want more and of course what i am looking for suppose to check for all five FileUpload controls 
if (FileUpload1.HasFile) { cmd.Parameters.AddWithValue("@Img1", FileUpload1.FileName); FileUpload1.SaveAs(Server.MapPath("~/images/AdsImgs/" + FileUpload1.FileName)); } else { / ...

Go to the complete details ...