Assembly: System.Web (in System.Web.dll)
The text contained in a corresponding text property is the name of a stored procedure.
The text contained in a corresponding text property is a SQL query or command.
The SqlDataSource and AccessDataSource controls to describe the type of SQL command contained in the SelectCommand, InsertCommand, UpdateCommand, and DeleteCommand properties. The value indicates that the text is a SQL query or command string while the value indicates that the text is the name of a stored procedure.enumeration is used by the
Legacy Code Example
The following code example demonstrates how to set the SelectCommand text to the name of a stored procedure and the SelectCommandType property to the value to retrieve data from a Microsoft SQL Server database and display it in a DropDownList.Code snippet is not found. Confirm that the code snippet name 'System.Web.UI.WebControls.SqlDataSource_14sql' is correct.
Available since 2.0