响应报文的数据

this.httpContext.Request[pName];//提取URL中的数据不用管它是GET提交还是POST提交

 

HttpContext.Current.Request.QueryString[ ],括号中是获取另一个页面传过的的参数值

HttpContext.Current.Request.Form[“ID”]····Form获取值是根据name="ID"不是id="ID"的

Request["param"] 全部
Request.QueryString["param"] get
Request.Form["param"] post

posted @ 2015-07-29 15:42  Alfred.Xu  阅读(222)  评论(0)    收藏  举报