Gets the parameters collection that contains the parameters that are used by the SqlDataSource.InsertCommand property from the System.Web.UI.WebControls.SqlDataSourceView object that is associated with the System.Web.UI.WebControls.SqlDataSource control.
Documentation for this section has not yet been entered.
The SqlDataSource.InsertParameters property retrieves the SqlDataSourceView.InsertParameters property that is contained by the System.Web.UI.WebControls.SqlDataSourceView object that is associated with the System.Web.UI.WebControls.SqlDataSource control.
If the SqlDataSource.InsertCommand property contains a parameterized SQL query, the SqlDataSource.InsertParameters collection contains any System.Web.UI.WebControls.Parameter objects that correspond to the parameter placeholders in the SQL string.
Depending on the ADO.NET provider, the order of the parameters in the SqlDataSource.InsertParameters collection might be important. The System.Data.OleDb and System.Data.Odbc providers associate the parameters in the collection according to the order that the parameters appear in the parameterized SQL query. The System.Data.SqlClient provider, which is the default ADO.NET provider for the System.Web.UI.WebControls.SqlDataSource control, associates the parameters in the collection by matching the name of the parameter with a placeholder alias in the SQL query. For more information about parameterized SQL queries and commands, see Using Parameters with the SqlDataSource Control.
Values are inserted into parameters without validation, which is a potential security threat. Use the SqlDataSource.Filtering event to validate parameter values before executing the query. For more information, see Script Exploits Overview.