public static GetCurrentPageName ( ) : String | ||
return | String |
public static String GetCurrentPageName()
{
String sPath = System.Web.HttpContext.Current.Request.Url.AbsolutePath;
System.IO.FileInfo oInfo = new System.IO.FileInfo(sPath);
String sRet = oInfo.Name;
return sRet;
}