比如,我当前请求的地址是
http://localhost:2911/UL/researchlist.aspx?keyword=1&productTypeId=7&startPrice=10
我用
Request.CurrentExecutionFilePath只能获取到http://localhost:2911/UL/researchlist.aspx
需要怎么样才能连着参数一起获取到呢?大家帮下忙,谢谢。
http://localhost:2911/UL/researchlist.aspx?keyword=1&productTypeId=7&startPrice=10
我用
Request.CurrentExecutionFilePath只能获取到http://localhost:2911/UL/researchlist.aspx
需要怎么样才能连着参数一起获取到呢?大家帮下忙,谢谢。
解决方案 »
- System命名空间突然变成了二级命名空间,导致系统报错
- 在.net页面中 调用vbscript定义的变量
- 如何获取DataGrid中选中的某一行中textbox的值?
- ASP.NET 平时大家都是如何设计界面,直接用VS2003吗?
- 找工作中,有深圳科技园公司招.net开发的吗?帮忙介绍一下
- 在C#中能不能建一个新的dbf文件
- public bool checked {get;set;}
- 页面权限的后续问题
- 问我在treeview中加入了HTML中的CHECKBOX,在后台如何捕获。
- 有关IIS不能支持ASP.NET发布的.NET FROMWORD SDK的问题?由于一次操作W2000操用系统下的IIS坏死(bug),然后重新安装后IIS不能支持ASP.NET
- 怎么一次性添加多个GridView 表的数据
- Server Error in '/' Application.
Request.CurrentExecutionFilePath: /testweb/default.aspx
Request.FilePath: /testweb/default.aspx
Request.Path: /testweb/default.aspx
Request.RawUrl: /testweb/default.aspx
Request.Url.AbsolutePath: /testweb/default.aspx
Request.Url.AbsoluteUri: http://www.test.com/testweb/default.aspx
Request.Url.Host: www.test.com
Request.Url.LocalPath: /testweb/default.aspx
这些最好都加上.ToString,否则容易出现未将对象引用到实例的错误的。