I want to upload a file from client side to server side using Visual Studio2008 asp.net c# for that i'm checking if the directory already exists or not and doing it by the following code
string UpPath;
UpPath = "D:\\UploadedUserFiles";
if (!Directory.Exists(UpPath))
Here I'm getting error that
The name 'Directory' does not exist in the current context
what should i do.