G
Guest
I have a windows form with controls bound to an underlying table in a
dataset. A data adapter is used to manage the flow of data between SQL server
and dataset. I navagate the table using the currency manager.
I have found that unless I explicitily use the .EndEdit() method of the row
that I'm currently editing, subsequent calls to the data adapter's update
method fail to write the changes to the database. Remarkably, the edits can
be seen in the dataset, but for some reason, without that Rows(x).EndEdit(),
the changes never make it back to the SQL server. I've tried calling the
CurrencyManager.EndCurrentEdit, but that does not seem to solve the problem.
Am I doing something wrong?
dataset. A data adapter is used to manage the flow of data between SQL server
and dataset. I navagate the table using the currency manager.
I have found that unless I explicitily use the .EndEdit() method of the row
that I'm currently editing, subsequent calls to the data adapter's update
method fail to write the changes to the database. Remarkably, the edits can
be seen in the dataset, but for some reason, without that Rows(x).EndEdit(),
the changes never make it back to the SQL server. I've tried calling the
CurrencyManager.EndCurrentEdit, but that does not seem to solve the problem.
Am I doing something wrong?