Which ADO.NET class is commonly used to execute non-query commands?

  • SqlCommand
  • SqlConnection
  • SqlDataAdapter
  • SqlDataReader
The SqlCommand class in ADO.NET is commonly used to execute non-query commands such as INSERT, UPDATE, and DELETE. It represents a SQL statement or stored procedure to execute against a SQL Server database.
Add your answer
Loading...

Leave a comment

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