响应报文的数据

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

原文地址:https://www.cnblogs.com/sulong/p/4658111.html