J
JJ
I have the following code running in a test asp.net app locally on my
xp system and I can't get the FileInfo.Exist to recognize that the file
is in the folder defined in code. What do I need to set in order for
this to work?
string sFullPath = @"\DocTemp\TestDoc.doc";
if(new FileInfo(sFullPath).Exists)
{
sFullPath = sFullPath.Replace(@"\", @"/");
}
JJ
xp system and I can't get the FileInfo.Exist to recognize that the file
is in the folder defined in code. What do I need to set in order for
this to work?
string sFullPath = @"\DocTemp\TestDoc.doc";
if(new FileInfo(sFullPath).Exists)
{
sFullPath = sFullPath.Replace(@"\", @"/");
}
JJ