Home > DeveloperSection > Interviews > Explain the DataAdapter.Update() and DataSet.AcceptChanges() methods.

Posted on    August-21-2014 11:31 PM

 ADO.Net ADO.Net 
 1 Answer(s)
  1695  View(s)
Rate this:

Sumit Kesarwani

Total Post:782

Posted on    August-21-2014 12:00 AM

The DataAdapter.Update() method calls any of the DML statements, such as the UPDATE, INSERT, or DELETE statements, as the case may be to update, insert, or delete a row in a DataSet. The DataSet.Acceptchanges() method reflects all the changes made to the row since the last time the AcceptChanges() method was called.

Don't want to miss updates? Please click the below button!

Follow MindStick