然后调用Server.Transfer方法 private void Button1_Click (object sender, System.EventArgs e) { Server.Transfer("anotherwebform.aspx"); } 目标页面代码: private void Page_Load (object sender, System.EventArgs e) { //create instance of source web form WebForm1 wf1; //get reference to current handler instance wf1=(WebForm1)Context.Handler; Label1.Text=wf1.Name; Label2.Text=wf1.EMail; } 总结 |
正在阅读:在两个ASP.NET页面之间传递值在两个ASP.NET页面之间传递值
2004-03-31 15:07
出处:CSDN
责任编辑:sdq
键盘也能翻页,试试“← →”键