Click here to Skip to main content
15,891,906 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi,
i want to know how to get the textbox text from one .aspx to another .aspx page for some database operation in code behind file.(i.e.) to include in select query to compare with an attribute value of a table
somebody help me..
Posted
Comments
rkthiyagarajan 23-Sep-11 10:59am    
Using session.

you can use a global variable or also can use session variable to get value of a textbox to multiple pages..

http://msdn.microsoft.com/en-us/library/ms178581.aspx[^]

http://kb2.adobe.com/cps/165/tn_16563.html[^]


you can use these links for session variable understanding..
 
Share this answer
 
I guess you are Redirecting from one Page to another Page and then want to use value of TextBox of First Page.

You can pass value of TextBox of First Page to another Page by QueryString.
http://www.dotnetperls.com/querystring

Other way by using Session.
http://msdn.microsoft.com/en-us/library/ms178581.aspx
 
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