
protected void Page_Load(object sender, EventArgs e)
{
if (Page.PreviousPage != null)//记得加个这个判断语句
{
TextBox1.Text= (((TextBox)PreviousPage.FindControl("TextBox1")).Text);
}
}
{
if (Page.PreviousPage != null)//记得加个这个判断语句
{
TextBox1.Text= (((TextBox)PreviousPage.FindControl("TextBox1")).Text);
}
}
Default4.aspx //传值页面

protected void Page_Load(object sender, EventArgs e)
{
Button1.PostBackUrl = "Default3.aspx";
}
{
Button1.PostBackUrl = "Default3.aspx";
}