How does a DataAdapter facilitate interaction between a database and a DataSet?

  • By automatically synchronizing changes between the database and the DataSet
  • By creating a direct connection between the DataSet and the database
  • By executing SQL queries directly on the DataSet
  • By providing methods to fill a DataSet with data from a database and update the database
A DataAdapter in ADO.NET facilitates interaction between a database and a DataSet by providing methods to fill a DataSet with data from a database using the Fill method, and to update the database with changes made in the DataSet using the Update method.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *