ASP.NET TextBox Web Controls store their value in the Text property not the Value property. If the textbox controls are not available for processing in 2.aspx. You can push the values of the text boxes into Session variables and access them from any subsequent page (2.aspx, 3.aspx, etc.) In the postback event for 1.aspx, capture the values for your text controls and redirect. C#:
Session["1aspx_txtName"] = txtName.Text;
Session["1aspx_txtAddress"] = txtAddress.Text;
Response.Redirect["2.aspx"];
VB.NET:
Session("1aspx_txtName") = txtName.Text
Session("1aspx_txtAddress") = txtAddress.Text
Response.Redirect("2.aspx")
The session variables will be available for the extent of the users connection to the web site. Subsequent pages may access the values in the following manner. C#:
String previousName = (String)Session["1aspx_txtName"];
txtNewAddress.Text = (String)Session["1aspx_txtAddress"];
VB.NET:
Dim previousName as String = CType(Session("1aspx_txtName"),String)
txtNewAddress.Text = CType(Session("1aspx_txtAddress"),String)
You will want to limit the number of Session variables you create. They will take up memory on you server until unloaded when the users leaves the site.