What is the primary purpose of a command object in ADO.NET?

  • Establishing a connection to the database
  • Executing SQL queries and stored procedures
  • Handling data results
  • Representing SQL queries and stored procedures
The primary purpose of a command object in ADO.NET is to execute SQL queries and stored procedures. It acts as a bridge between the application and the database, allowing for the execution of SQL commands and the retrieval of data.
Add your answer
Loading...

Leave a comment

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