大家好,欢迎关注我的个人blog!1.url重写,首先我是先在Application_BeginRequest中捕获url重写了规则protectedvoidApplication_BeginRequest(Objectsender,EventArgse){stringurl=Request.AppRelativeCurrentExecutionFilePath;//Matchmatch=Regex.Match(url,@"~/BookList2_(\d+)\.aspx");if(match...
查看全文