Click to See Complete Forum and Search --> : Bring text from page to page


simonevaristo
March 18th, 2006, 03:14 PM
I have 2 pages in my Web Project of Visual Studio 2005

The first page has a TextBox1 and the second page has a TextBox2

How can I bring the Text of TextBox1of Page1 into the TexBox2 of Page2

mmetzger
March 18th, 2006, 10:36 PM
Several ways:

1) Pass it as a query string
2) Pass it as a Context[] variable
3) Pass it as a Session[] variable

The choice depends on how long you need to keep it around and the formatting of the text.