A
Arjen
Hello,
I want to check if an directory exist.
Directory.Exists(Application["AppPath"] + "/Uploads/")
I'm doing this inside a asp.net web project in a class file.
Here is the error message.
The name 'Application' does not exist in the class or namespace.
What kind of namespace do I have to include?
Or are there other options to get the application path?
Thanks!
I want to check if an directory exist.
Directory.Exists(Application["AppPath"] + "/Uploads/")
I'm doing this inside a asp.net web project in a class file.
Here is the error message.
The name 'Application' does not exist in the class or namespace.
What kind of namespace do I have to include?
Or are there other options to get the application path?
Thanks!