Click here to Skip to main content
15,891,473 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
my one content page having a grid view at that grid view having a data i click to edit button for edit that data of grid view ,if i click that edit button that edited data will display on another content page that text boxes for edit that data
Posted
Comments
F-ES Sitecore 30-Oct-15 4:29am    
Have the click event of the button take the ID of the relevant record and redirect the user to a page like

~/Edit.aspx?ID=123

where 123 is the ID of the selected record. That page will grab the ID and present the details of that data in a form for editing. When the editing is finished you can redirect to your page with the gridview again.

To pre-empt your next question, no I won't write code for you, go through a book on ASP.net and how to do these things will be covered.
$*Developer - Vaibhav*$ 30-Oct-15 8:43am    
http://www.codeproject.com/Articles/5876/Passing-variables-between-pages-using-QueryString

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