aspx页面怎么用获取到的参数?
然后在B.aspx的protected void Page_Load(object sender, EventArgs e)中 string ID = Request["id"];
将string ID = Request["id"];赋值级隐藏框。然后再通过js取隐藏框的value可以获得。
1
2
3
4
5
public string ID="";
public
string
ID=
""
;
protected void Page_Load(object sender, EventArgs e)
protected
void
Page_Load(
object
sender, EventArgs e)
{
ID = Request.QueryString["id"];
ID = Request.QueryString[
"id"
];
}