在 "WebForm1.aspx"
Server.Transfer("WebForm2.aspx");
在 "WebForm2.aspx" 的Page_Load事件中if(!Page.IsPostBack)
{
try
{
WebForm1 w = (WebForm1)Context.Handle;
this.Lable1.Text = w.TextBox1.Text;
}
catch //不是从 WebForm1 进入
{
}
}
Server.Transfer("WebForm2.aspx");
在 "WebForm2.aspx" 的Page_Load事件中if(!Page.IsPostBack)
{
try
{
WebForm1 w = (WebForm1)Context.Handle;
this.Lable1.Text = w.TextBox1.Text;
}
catch //不是从 WebForm1 进入
{
}
}
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货