In ADO.NET, you can execute a stored procedure using the ___________ method of the SqlCommand object.

  • Execute
  • ExecuteNonQuery
  • ExecuteReader
  • ExecuteScalar
In ADO.NET, you can execute a stored procedure using the ExecuteNonQuery method of the SqlCommand object. ExecuteNonQuery is typically used for executing commands that do not return any result set, such as INSERT, UPDATE, DELETE, or for executing stored procedures that do not return result sets.
Add your answer
Loading...

Leave a comment

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