1. Going to use upload functionality the use the namespace
using System.IO;
if (!System.IO.File.Exists(fileToUpload))
throw new FileNotFoundException("File not found.", fileToUpload);
Otherwise it throws error
----------------------------------------------------------------------------------------------------------------
using System.IO;
if (!System.IO.File.Exists(fileToUpload))
throw new FileNotFoundException("File not found.", fileToUpload);
Otherwise it throws error
----------------------------------------------------------------------------------------------------------------
No comments:
Post a Comment