FileName = Path.GetFileName(FileUpload1.PostedFile.FileName); string Extension = Path.GetExtension(FileUpload1.PostedFile.FileName); string FolderPath = ConfigurationManager.AppSettings["DMSFolder"]; FilePath = Server.MapPath(FolderPath + FileName); ViewState["FilePath"] = FilePath; ViewState["FileName"] = FileName; FileUpload1.SaveAs(FilePath);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)