Here is the code to upload file in asp.net
String path = Server.MapPath("~/IpSyllabusSchemas/");
FileUpload1.PostedFile.SaveAs(path + FileUpload1.FileName);
Done :)
String path = Server.MapPath("~/IpSyllabusSchemas/");
FileUpload1.PostedFile.SaveAs(path + FileUpload1.FileName);
Done :)
Comments
Post a Comment