ADO.NET provides the _________ class to work with stored procedures, which allows for flexible parameter handling.
- SqlCommand
- SqlConnection
- SqlDataAdapter
- SqlParameter
The SqlParameter class in ADO.NET is used to define parameters for stored procedures. It allows developers to specify various properties for each parameter, including its name, data type, size, and direction (input or output). This class facilitates flexible parameter handling and ensures proper interaction with stored procedures.
Loading...
Related Quiz
- In LINQ to SQL, what is the role of the DataContext class in query optimization?
- Data readers are considered forward-only. What does this mean in the context of ADO.NET?
- What is the primary purpose of modifying data in datasets?
- In Entity Framework, what is Change Tracking, and why is it important when updating data?
- Data binding to list controls like ListBox and DropDownList is often used to present data to users in a ___________ format.