GET Current page name in asp.net
public string GetCurrentPageName () { string sPath = Request . Url . AbsolutePath ; System . IO . FileInfo oInfo = new System . IO . FileInfo ( sPath ); string sRet = oInfo . Name ; return sRet ; }