misterstick
Programmer
i have a form linked to an oracle database via System.Data.OracleClient.
it uses form designer level Connection -> DataAdapter -> DataSet objects.
the DataAdapter has all default SIUD objects.
TextBox objects are bound to DataTable.DataColumns in the DataSet object.
currency is managed by a CurrencyManager.
everything works pretty much as i want except for one thing.
if i make changes to the data i can see that the data has a new value in DataSet.DATATABLE[Row].Column.
just before update, though, DataSet.DATATABLE.HasChanges is false and DataSet.DATATABLE.GetChanges is null.
calls to DataSet.DATATABLE.AcceptChanges and DataAdapter.Update don't write records back to the database.
what should i be investigating? i can't think beyond the fact that i've made changes to the DataSet, so HasChanges should be true.
i haven't changed CurrencyManager.Position to go to a new record, so what could be resetting the changes?
yours completely stumped,
mr s. <
it uses form designer level Connection -> DataAdapter -> DataSet objects.
the DataAdapter has all default SIUD objects.
TextBox objects are bound to DataTable.DataColumns in the DataSet object.
currency is managed by a CurrencyManager.
everything works pretty much as i want except for one thing.
if i make changes to the data i can see that the data has a new value in DataSet.DATATABLE[Row].Column.
just before update, though, DataSet.DATATABLE.HasChanges is false and DataSet.DATATABLE.GetChanges is null.
calls to DataSet.DATATABLE.AcceptChanges and DataAdapter.Update don't write records back to the database.
what should i be investigating? i can't think beyond the fact that i've made changes to the DataSet, so HasChanges should be true.
i haven't changed CurrencyManager.Position to go to a new record, so what could be resetting the changes?
yours completely stumped,
mr s. <
