I am changing DataGridView cell values programmatically, but values are not pushed to bound datasource. They are pushed only for cells belonging to selected row. How can I ask the DataGridView to push rows values into datasource?
EDIT:
This code seems to do the trick, but may be some better solution?
grid.CurrentCell = cell;
cell.Value = "some value";
grid.EndEdit(0);