ASP.NET 获得当前网页名字

Code

string currentFilePath = HttpContext.Current.Request.FilePath; 
string CurrentPageName = currentFilePath.Substring(currentFilePath.LastIndexOf("/") + 1);
posted @ 2013-09-20 17:31  陈大欠  阅读(279)  评论(0编辑  收藏  举报