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.
Add your answer
Loading...

Leave a comment

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