Is there a way to detect if a physical file exists using ASP.NET C#?
I have a web directory holding images that I want to display on a web page. I have a flag in the database to toggle if the file exists or not, but as a safety precaution, is there a way to detect if the physical file exists?
Thanks,
Chris
I have a web directory holding images that I want to display on a web page. I have a flag in the database to toggle if the file exists or not, but as a safety precaution, is there a way to detect if the physical file exists?
Thanks,
Chris
Comment