2
Answers

File Upload Control

I am using File upload control in asp.net but i dont select any File so i face Error...
 
string str = FileUpload1.FileName;
FileUpload1.PostedFile.SaveAs(Server.MapPath("~/Upload/" + str));
string Image = "~/Upload/" + str.ToString();
}
 
 
Answers (2)