传统的页面之间的传值是通过Session、Cookie、Post/Get、现在在web 2.0中新增了一种新的传值机制--利用PreviousPage 。只要在提交页里设置下<%@ PreviousPageType VirtualPath="~/User/wangjf/Test.aspx" %>
然后在页面里PageLoad事件中调用就OK了。
protected void Page_Load(object sender, EventArgs e)
{
this.Label1.Text = PreviousPage.YourName;
}