B
Bill
I have a DataGrid bound to a DataTable. If the user makes changes to a
row and does not move off of that row before I call DataAdapter.Update
the changes are not made to the database. How, in code, can I post the
changes to the current row to the underlying DataTable so that calling
DataAdapter.Update will update the database?
Note that I have tried calling DataGrid.EndEdit and that does not work.
I have also tried calling CurrencyManager.EndCurrentEdit and that does
not work. The only thing that does work is changing the value of
CurrencyManager.Postion to move to another row, however, that does not
work when there is only one row in the table.
This should be easy so I must be missing something.
row and does not move off of that row before I call DataAdapter.Update
the changes are not made to the database. How, in code, can I post the
changes to the current row to the underlying DataTable so that calling
DataAdapter.Update will update the database?
Note that I have tried calling DataGrid.EndEdit and that does not work.
I have also tried calling CurrencyManager.EndCurrentEdit and that does
not work. The only thing that does work is changing the value of
CurrencyManager.Postion to move to another row, however, that does not
work when there is only one row in the table.
This should be easy so I must be missing something.