What is the significance of the CommandType property in an ADO.NET command object?

  • It defines the parameters for the SQL command
  • It determines the type of SQL command being executed
  • It sets the timeout for the command execution
  • It specifies the type of database being accessed
The significance of the CommandType property in an ADO.NET command object is that it determines the type of SQL command being executed. It can be set to CommandType.Text for regular SQL queries or CommandType.StoredProcedure for executing stored procedures.
Add your answer
Loading...

Leave a comment

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