如题。
解决方案 »
- C# 字符串中的数字后面加/
- asp.net “AddInfoByRss”方法没有任何重载采用“2”个参数
- asp.net初学者菜鸟问题
- 急!求教关于查询结果的关键字变色问题!大家帮帮忙啊!谢谢了
- 怎样设置用户登陆7,8小时都不超时
- HiddenField控件的ValueChanged事件???急急
- 怎么通过界面来设置web.config内的数据库连结?
- 简历中这样描述有什么不妥么?
- 如何把SQL SERVER数据库中的图片数据取出来并显示到网也中的IMAGE控件上?
- 关于.net2.0中的datatableAdapter做数据访问层的问题
- int PID = Convert.ToInt32(MyGridView1.SelectedRow.Cells[0].Text)怎么得不到值
- 树形部门列表
Global.asax中的Application_BeginRequest中重写
例void Application_BeginRequest(object sender, EventArgs e) {
string fullOrigionalpath = Request.Url.ToString();
if (fullOrigionalpath.Contains("/Products/Books.aspx")) {
Context.RewritePath("/Products.aspx?Category=Books");
}
}也可在httpHandlers 或 httpModules 中重写