Explain DataSet.AcceptChanges and DataAdapter.Update methods.

Q

Explain DataSet.AcceptChanges and DataAdapter.Update methods.

✍: Guest

A

DataAdapter.Update method Calls the respective INSERT, UPDATE, or DELETE statements for each inserted, updated, or deleted row in the DataSet.
DataSet.AcceptChanges method Commits all the changes made to this row since the last time AcceptChanges was called.

2014-01-06, 1644👍, 0💬