前端获取URL传值
GetQueryString("id")
C#获取前端多个name值
Request.Form.GetValues("name")
通过表单提交方式
Request.Form:获取以POST方式提交的数据(接收Form提交来的数据)
string text=Request.Form["name"]
回传
Request.QueryString:获取地址栏参数(以GET方式提交的数据)
text=Request.QueryString["name"]
Request:包含以上两种方式(优先获取GET方式提交的数据),它会在QueryString、Form、ServerVariable中都搜寻一遍。