Hi,
There are two DatgridView properties which should help solve this problem,
IsCurrentCellDirty[
^] and
IsCurrentRowDirty[
^], If there are uncommitted cells then call CommitEdit with the argument DataGridViewDataErrorContexts.Commit.
Another possibility is to examine IsCurrentCellInEditMode and call EndEdit on the cell.
Alan.