Try this:
public 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;
}
Good Luck
Wednesday, October 29, 2008
Subscribe to:
Post Comments (Atom)


No comments:
Post a Comment