Which ADO.NET class is used to execute SQL queries and stored procedures?
- SqlCommand
- SqlConnection
- SqlDataAdapter
- SqlDataReader
The SqlCommand class is used to execute SQL queries and stored procedures in ADO.NET.
Loading...
Related Quiz
- In ADO.NET, what is the role of the DataRow object when modifying data?
- Scenario: You are developing a high-performance application using Entity Framework. What is one technique you can employ to reduce the number of database queries and improve query performance?
- In Code-First development, how are database tables created based on entity classes?
- You are working on a project where database performance is critical. Which LINQ feature or technique would you consider using to minimize the number of database queries generated by LINQ?
- Why are stored procedures commonly used in database applications?