DataGridView - How do I...
I have a DataGridView control in a Windows forms app bound to a datatable. I want the DataGridView to update the datatable as soon as a cell value is changed.
The default behaviour only seems to update the datatable when you move to a different row. Moving to a different cell or clicking a button outside the DataGridView does not cause the datatable to be updated. When the user clicks a button outside the DataGridView control I want to ensure that all changes have been committed to the datatable.
Your advice is appreciated. :)