62,243
社区成员




protected void Application_BeginRequest(Object sender, EventArgs e)
{
string url = Request.AppRelativeCurrentExecutionFilePath;
//匹配全部列表也
Match match2 = Regex.Match(url, @"~/category/([A-Za-z]+)/");
if (match2.Success)
{
Context.RewritePath("/List.aspx?categoryid=" + match2.Groups[1].Value);
}
}