Click here to Skip to main content
15,909,440 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
In my project i need to know how to pass textbox value from one aspx value to another
eg..
in one page i have two textbox value(character) after submit that page it check tables for matching if any match then rows will displayed in another aspx page in grigview control
how it is possible ..
or give any another idea
Posted

This link looks good to start with.

http://msdn.microsoft.com/en-us/library/6c3yckfw.aspx

Edit -

Below link has list of "ASP.NET State Management Overview" to persist Data on the same Page and in between Two Web Pages.

http://msdn.microsoft.com/en-us/library/75x4ha6s.aspx
 
Share this answer
 
v2
Comments
Abhinav S 1-Oct-11 5:15am    
Both posted the same link at the same time. My 5.
RaisKazi 1-Oct-11 5:16am    
yup, Thanks Man!
Espen Harlinn 1-Oct-11 5:31am    
5'ed :)
RaisKazi 1-Oct-11 5:38am    
Thank you Espen. :)
The easiest way to do this is use a state management strategy like query string or session variables.

How to: Pass Values Between ASP.NET Web Pages[^] discusses some approaches and should help you get started.
 
Share this answer
 
v3
Comments
RaisKazi 1-Oct-11 5:17am    
My 5!
Abhinav S 1-Oct-11 5:18am    
Thanks.
Espen Harlinn 1-Oct-11 5:31am    
5'ed :)
Abhinav S 1-Oct-11 5:31am    
Thank you Espen.
Uday P.Singh 1-Oct-11 6:45am    
I voted 4, just because viewstate life time is in single page, it works for single page only. Hence we can not use view state for passing values from one page to another. But Yes! Query String & session will do the job.

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