复制代码 代码如下:
public class Global : System.Web.HttpApplication
{
protected void Application_BeginRequest(object sender, EventArgs e)
{
HttpContext context = HttpContext.Current;
if (context.Request.Path.Equals("/demo", StringComparison.InvariantCultureIgnoreCase))
{
context.RewritePath("~/demoList.aspx");
}
}
}
新闻热点
疑难解答
图片精选