Which ADO.NET class is commonly used to execute SELECT statements and retrieve data from a database?

  • SqlCommand
  • SqlConnection
  • SqlDataAdapter
  • SqlDataReader
The SqlDataAdapter class in ADO.NET is commonly used to execute SELECT statements and retrieve data from a database. It acts as a bridge between a dataset and a data source for retrieving and saving data.
Add your answer
Loading...

Leave a comment

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