.net中 图像按钮 无法通过 a.aspx?ID=aaaa&NAME=33333传值
来源:百度知道 编辑:UC知道 时间:2024/05/23 15:56:38
请问是什么原因
你问的是什么意思?
esponse.Redirect("a.aspx?ID=aaaa&NAME=333");
取值
stirng id=Reques.QureryString["ID"];
string name=Reques.QueryString["NAME"];
看一下取值存储的作用域,是不是写在if(!IsPostBack){}中失效了