SyntaxFix
Write A Post
Hire A Developer
Questions
Rather than using str_uploadpath + fileName, try using System.IO.Path.Combine instead:
str_uploadpath + fileName
System.IO.Path.Combine
Path.Combine(str_uploadpath, fileName);
which returns a string.