ASP.NET 获得当前网页名字

Code

string currentFilePath = HttpContext.Current.Request.FilePath; 
string CurrentPageName = currentFilePath.Substring(currentFilePath.LastIndexOf("/") + 1);
原文地址:https://www.cnblogs.com/Chendaqian/p/3330605.html