Posted on: 8/4/2012 11:08:29 AM | Views : 1068

hello  every body  
ihave used  file upload control  and make my behind code but the photo  doesnt uploaded this my code 
frist i try this code 
if (Fupload.HasFile) { Fupload.SaveAs(Server.MapPath("../catimg")+"\\"+Textcatnum.Text + ".jpg"); lblmessage2.Text += "<br />image Uploaded Successfully";
and then  when this doent work i  use one  from the fourm here  but still  the same problem this  is the other code
if (Fupload.HasFile) { try { string filename = Path.GetFileName(Fupload.FileName); Fupload.SaveAs(Server.MapPath("~/") + filename); lblmessage2.Text += "<br />Upload status: File uploaded!"; } catch (Exception ex) { lblmessage2.T ...

Go to the complete details ...