Click here to Skip to main content
15,921,250 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi,
can anyone tell me how to update a datagrid as well as database after editing a cell value......
Posted

1 solution

Normally, the datagrid is bound to a collection in the code behind/viewmodel. If the databinding is TwoWay, then all you need to do is have a button that saves the collection to the database.

Hope this helps
 
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