关于HttpContext.Current.Request获取值 【转】

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

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

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

文本编码HttpUtility.HtmlEncode()

文本解码HttpUtility.HtmlDecode()

 
 
 
原文地址:https://www.cnblogs.com/zhouyunbaosujina/p/3106381.html