Hi,
I want to pass a value from one page to another(say from page1 to page2) & the same value again to another page(say page3).
What is the best way to do this in vb.net. Query string, Session Variables or any other method?
Thanx
“Peace comes from within. Do not seek it without.” Anup
Querystring is always useful if you want the user to be able to return to such a page directly, or bookmark it.
The only other consideration is security - remember that querystrings can be modified by the user.
There are a whole bunch of ways to pass values, see here:
http://msdn.microsoft.com/en-gb/magazine/cc300437.aspx
Use Sessions Assing Value to session variable
Session("myname") = "xyz"
To retrieve value from session
txtbox.text = session("myname")
Mark as solved if it helps you