Which ADO.NET class represents a command object for executing SQL queries and stored procedures in SQL Server?

  • SqlCommand
  • SqlConnection
  • SqlDataAdapter
  • SqlDataReader
The SqlCommand class in ADO.NET represents a command object specifically designed for executing SQL queries and stored procedures in SQL Server. It provides methods for executing commands and retrieving results from the database.
Add your answer
Loading...

Leave a comment

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