DataGridView.EndEdit Question

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hello NG,

It seems, that "DataGridView.EndEdit()" does not work here.
There a two reasons, why I think this:
1. After DataGridView.EndEdit() the currently selected row still shows the
pencil, indication that it is in edit mode
2. With in my program I realize, that the changes made in the dgv are not
"known" in the code, using the underlaying data table, although dgv.EndEdit
was called,
before I used the datatable.

Is there something else I have to do, in order to make sure that editing has
ended befor accesing the related datatables?

Thanks for help!
Rainer Queck


.