The CommandType property of a command object can be set to _______ when executing a stored procedure.
- StoredProcedure
- TableDirect
- Text
- View
The CommandType property of a command object is set to StoredProcedure when executing a stored procedure. This tells the command object that the CommandText property contains the name of a stored procedure to execute.
Loading...
Related Quiz
- SQL injection attacks occur when malicious users exploit vulnerabilities in ___________ statements.
- How do you apply sorting to a DataView in ADO.NET?
- In ADO.NET, what is the role of the SqlDataReader when retrieving data using SELECT statements?
- Data readers provide ___________ access to data, which can be beneficial for performance when reading large datasets.
- How can you enable data binding to a DropDownList control in a web application?