Click here to Skip to main content
15,892,161 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have two web page.
1st. gridview
2nd. form with textbox


suppose i have one gridview records with select button .. when i select one particular row data from gridview , and this row data will redirect on another aspx page in textbox.
Posted

you can store your row data in session on RowCommand Event of GridView and then Redirect to 2nd Page.

On 2nd PageLoad you can retrieve Rowdata Stored in session and you can assign it to Textbox.
 
Share this answer
 
I think in this situation using querystring is better.
 
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