Click here to Skip to main content
15,895,142 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How can I pass the values from one page to other. Using session .
Posted
Updated 13-Feb-12 6:41am
v2

That's not the best way, but the answer is, use the session. One page stores a value in the session and the other retrieves it. If you don't know how to use the session, you should search the web and read some articles, but it's just a name/value collection.
 
Share this answer
 
Comments
Shahin Khorshidnia 13-Feb-12 12:42pm    
+5
Sergey Alexandrovich Kryukov 13-Feb-12 14:14pm    
This is the answer, my 5.
--SA
You may use any of below ways to transfer values

  • Query Strings
  • Cookies
  • Session variables
  • Server.Transfer
  • Post Back URL

Passing data/parameters/values from one aspx page to another aspx page[^]
Passing Values from One Page to Another Page – ASP.NET[^]
 
Share this answer
 
have a look at here[^]
 
Share this answer
 
 
Share this answer
 
I would advise to start here: http://msdn.microsoft.com/en-us/library/ms178581.aspx[^].

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900