Multiple choice technology web technology

Which method is used to commit all changes in the DataSet or DataTable?

  1. Update()

  2. AcceptChanges()

  3. GetChanges()

  4. All the above

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

In ADO.NET, the AcceptChanges method is called on a DataTable or DataSet to commit all changes made since the last time AcceptChanges was called or the object was loaded.