public FullFilePath ( String szFile ) : String | ||
szFile | String | |
return | String |
public String FullFilePath(String szFile)
{
if (szFile == null || szFile == String.Empty)
return szFile;
if (szFile.Length > 5)
{
if (szFile.Substring(0, 5) != "http:")
szFile = Path.Combine(_strPath, szFile);
}
return szFile;
}