I have a simple form with a DataGrid and three data-bound textBoxes.
I can call BeginEdit(), EndEdit() and CancelEdit() against the DataRow being worked on.
However, if I change values in the textBoxes and then click 'CancelEdit' the values (as changed in the textBox) is still held in the DataRow / dataGrid / textBoxes until I move focus elsewhere.
If I move to a different DataRow in the grid and then back again - the data is as before the BeginEdit was called.
How can I refresh the data (dataGrid + textBoxes data-bound) following the CancelEdit() call ?
Thanks in advance
Steve
I can call BeginEdit(), EndEdit() and CancelEdit() against the DataRow being worked on.
However, if I change values in the textBoxes and then click 'CancelEdit' the values (as changed in the textBox) is still held in the DataRow / dataGrid / textBoxes until I move focus elsewhere.
If I move to a different DataRow in the grid and then back again - the data is as before the BeginEdit was called.
How can I refresh the data (dataGrid + textBoxes data-bound) following the CancelEdit() call ?
Thanks in advance
Steve