G
Guest
When a DataGrid control is edited, the last cell edited will not be saved to
the associated DataSet as a change until the user changes focus to a
different cell in the grid using the arrow keys, enter, or the mouse. I have
a button in my windows form that needs to save the changes to the DataSet
using a DataAdapter and I would like it to include the cell which is
currently being edited. I tried using EndEdit on the current cell, but it
generated the same behavior, still not saving the data. I also tried adding
a hidden control and changing the focus from the DataGrid. Any other ideas?
Thanks in advance,
Greg Bayard
the associated DataSet as a change until the user changes focus to a
different cell in the grid using the arrow keys, enter, or the mouse. I have
a button in my windows form that needs to save the changes to the DataSet
using a DataAdapter and I would like it to include the cell which is
currently being edited. I tried using EndEdit on the current cell, but it
generated the same behavior, still not saving the data. I also tried adding
a hidden control and changing the focus from the DataGrid. Any other ideas?
Thanks in advance,
Greg Bayard