D
damian
Ideally, I would like to check for file existence using a URL for the
path. I would like to know if it is possible, and if so, how can I
implement it. Any input would be appreciated. If it is not possible,
can I use a relative folder path instead of an absolute path? I have
tried both unsuccessfully. Below is what I currently have working:
Image1.ImageUrl="/Modules/UserInfo/html/images/"+employeeID+".jpg";
imagePath="c:\\inetpub\\wwwroot\\Modules\\UserInfo\\html\\images\\"+employeeID+".jpg";
Image1.Visible = System.IO.File.Exists(imagePath);
path. I would like to know if it is possible, and if so, how can I
implement it. Any input would be appreciated. If it is not possible,
can I use a relative folder path instead of an absolute path? I have
tried both unsuccessfully. Below is what I currently have working:
Image1.ImageUrl="/Modules/UserInfo/html/images/"+employeeID+".jpg";
imagePath="c:\\inetpub\\wwwroot\\Modules\\UserInfo\\html\\images\\"+employeeID+".jpg";
Image1.Visible = System.IO.File.Exists(imagePath);