摘要: 用Request.CurrentExecutionFilePath,就只能取到www.5ixznr.cn/index.aspx 用Request.RawUrl就可以把index.aspx??boardid=22&page=1全取出来 在ASP.NET编程中经常需要用Request获取url的有关信息,Request中有多种方法获取url信息.测试的url地址是http://www.test.com/testweb/default.aspx?xx=xx, 结果如下: Request.ApplicationPath: /testweb Request... 阅读全文
posted @ 2012-04-18 14:19 Byrd 阅读(201) 评论(0) 推荐(0) 编辑