摘要:
大家好,我是2月18号的博主——博主4号。1.url重写,首先我是先在Application_BeginRequest中捕获url重写了规则protected void Application_BeginRequest(Object sender, EventArgs e) { string url = Request.AppRelativeCurrentExecutionFilePath; // Match match = Regex.Match(url, @"~/BookList2_(\d+)\.aspx"); ... 阅读全文