2011年3月22日

在Global.asax中实现URL 的重写.

摘要: 1 protected void Application_BeginRequest(object sender, EventArgs e) 2 { 3 string url = Request.RawUrl.ToString(); 4 if (url.ToLower().IndexOf("page/bloglist/") > -1 && url.IndexOf("?") < 0) 5 { 6 int lastg = url.LastIndexOf("/"); 7 int lastdot = url.Last 阅读全文

posted @ 2011-03-22 14:34 $克 阅读(392) 评论(0) 推荐(0) 编辑

导航