S
shapper
Hello,
I am deleting a file from database data as follows:
File.Delete(Path.Combine(AppDomain.CurrentDomain.BaseDirectory,
String.Concat(s.SlidePath, s.SlideFilename)));
The problem is that I get an error when the file does not exist.
How can I prevent that?
Thanks,
Miguel
I am deleting a file from database data as follows:
File.Delete(Path.Combine(AppDomain.CurrentDomain.BaseDirectory,
String.Concat(s.SlidePath, s.SlideFilename)));
The problem is that I get an error when the file does not exist.
How can I prevent that?
Thanks,
Miguel