Click here to Skip to main content
15,896,118 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how do i keep the values of edit items in the gridview.
Posted
Comments
Sandeep Mewara 16-May-11 4:44am    
No idea.

1 solution

Gridview is a databound control. It display the contents from the underlying datasource. If you say the editing not persist then it doesn't updating the underlying datasource. You may need to properly handle the Row Editing, Row Updating events to update the underlying datasource.You may use corresponding command fields to trigger these events. For your general question I have given the answer. If you spot specific problem or give more information our experts will be happy to help you.

Good luck
 
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