P
Paul
Hi for some reason in the code below even when the file exits the
code below never executes int a = 1;
does the path have to contain the entire physical path including the drive?
string validpath = "~/Files/newfile.doc"
if (File.Exists(validpath))
{
int a = 1;
}
Thanks Paul.
code below never executes int a = 1;
does the path have to contain the entire physical path including the drive?
string validpath = "~/Files/newfile.doc"
if (File.Exists(validpath))
{
int a = 1;
}
Thanks Paul.