发送页:
    1.定义静态变量:  public static string str="";
    2. str=this.TextBox1.Text;
       Server.Transfer("webform2.aspx");
 接收页:
    1.引入第一页的命名空间:using WebApplication1;
    2  this.TextBox1.Text=WebForm1.str;

如为自身页面引用则可以不用public而用private就行.


其它的方法同传统的如session,cookie,application,url等

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-09-21
  • 2021-04-14
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-10-25
  • 2021-07-15
  • 2022-12-23
  • 2022-01-24
  • 2022-01-12
相关资源
相似解决方案