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.
Loading...
Related Quiz
- What is the primary purpose of connection pooling in ADO.NET?
- The DataList control supports _________ items, which can be customized to achieve different styles or behaviors.
- In the context of Repeater and DataList controls, what is meant by "ItemTemplate"?
- When binding data to a ListBox, what is the significance of the DataValueField property?
- The use of ___________ can help in caching query results and improving query performance.