Code
string currentFilePath = HttpContext.Current.Request.FilePath; string CurrentPageName = currentFilePath.Substring(currentFilePath.LastIndexOf("/") + 1);
本文共 211 字,大约阅读时间需要 1 分钟。
string currentFilePath = HttpContext.Current.Request.FilePath; string CurrentPageName = currentFilePath.Substring(currentFilePath.LastIndexOf("/") + 1);
转载于:https://www.cnblogs.com/Chendaqian/p/3330605.html