Which ADO.NET class is responsible for transferring data between a data source and a data-bound control?
- DataAdapter
- SqlCommand
- SqlConnection
- SqlDataReader
The DataAdapter class in ADO.NET is responsible for transferring data between a data source, such as a database, and a data-bound control, such as a DataGridView or ListBox. It acts as a bridge between the data source and the dataset, facilitating the retrieval and manipulation of data.
Loading...
Related Quiz
- In a SELECT statement, what keyword is used to specify which columns to retrieve from a table?
- When using a JOIN clause in a SELECT statement, you are typically combining data from ___________ tables.
- In ADO.NET, what is the primary role of the DataAdapter?
- Scenario: You need to read data from a large SQL Server database. Which ADO.NET data reader should you use, and why?
- You are developing an application that needs to retrieve data from an Oracle database and update it using a DataSet. Which type of DataAdapter would you use for this scenario?