> 其他 >
那位高手知道response.Redirect具体的用法和它的意思啊?
人气:353 ℃ 时间:2020-06-12 10:40:02
解答
转到其它的页面
Response.Redirect("要转到的页面*.aspx");
也可以传值
Response.Redirect("Web1.aspx?Gotos="+this.TextBox1.Text);
另一页面接收 TextBox1中的值
string s = Request["Gotos"].ToString();
Response.Write(s);
推荐
猜你喜欢
© 2024 79432.Com All Rights Reserved.
电脑版|手机版