
October 27th, 2003, 12:49 AM
|
|
Contributing User
|
|
Join Date: Apr 2000
Location: Redmond, WA
Posts: 218
Time spent in forums: < 1 sec
Reputation Power: 9
|
|
It's not as hard as you think. All you have to do is traverse from the first webform to the second webform and in the page_load event handler on the second form, access the index pertaining to the name of the text field that you desire to retrieve data from.
Suppose on the first page, you have a field named 'address' and you want that information to show up in a similar field on the second page, you'd type the following:
Code:
nameOfTextFieldOnSecondPage.Text = HttpApplication.Request.Form[ "address" ].ToString();
Keep in mind that you will need to post the information to the second page in order to use the Request.Form indexer.
|