Which ADO.NET class is commonly used to update data in a dataset?
- SqlCommand
- SqlConnection
- SqlDataAdapter
- SqlDataReader
SqlDataAdapter is commonly used to update data in a dataset in ADO.NET. It acts as a bridge between the dataset and the data source, allowing developers to fill datasets with data from the database and update the database with changes made to the dataset.
Loading...
Related Quiz
- To create a parameterized query, you use placeholders in the SQL statement, often denoted by ________.
- When using LINQ to DataSet, the let keyword is used to define ___________ variables within a query.
- Scenario: You are building a high-performance application that requires reading a large dataset from a database. How can you efficiently achieve this using a data reader?
- What SQL statement is used to retrieve data from a database in ADO.NET?
- In ADO.NET, how can you populate a DataTable with data from a database?