Abhishek  Jaiswal

Abhishek Jaiswal

  • 90
  • 19.8k
  • 9.5m

eRROR

Jul 22 2014 3:32 AM
hELLO Folks!
 
am getting this error in my page, pls help to get rid of it

The filename, directory name, or volume label syntax is incorrect.

Line 168:        // Providing Path 
Line 169: string excelpath = Server.MapPath("~/Files/") + Path.GetFileName(FileUpload1.PostedFile.FileName);
Line 170: FileUpload3.SaveAs(excelpath);
Line 171:
Line 172: string conString = string.Empty;
 
 

Answers (3)