In ADO.NET, what is the primary role of the DataAdapter?

  • Executes SQL commands and returns a result set
  • Provides a forward-only, read-only cursor for accessing data
  • Represents a connected architecture for interacting with a database
  • Retrieves data from the database and populates a DataSet
The primary role of the DataAdapter in ADO.NET is to retrieve data from the database and populate a DataSet. It acts as a bridge between the database and the DataSet, facilitating communication and data transfer.
Add your answer
Loading...

Leave a comment

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