当前位置:首页>维修大全>综合>

ASP.NETPOST如何传参数(asp怎么接收post数据)

ASP.NETPOST如何传参数(asp怎么接收post数据)

更新时间:2025-06-03 07:42:53

ASP.NETPOST如何传参数

简单传送示例: 1

简单接收示例: 1 protected void Page_Load(object sender, EventArgs e) 2 { 3 string id2 = Request.Form["name2"]; 4 string website2 = Request.Form["website2"]; 5 Response.Write(id2 + "" + website2); 6 Response.Write("你使用的是" + Request.RequestType + "方式传送数据"); 7 8 }

更多栏目