SPDataSource.InsertParameters property

Gets the parameter collection that contains parameters for inserting data.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
<PersistenceModeAttribute(PersistenceMode.InnerProperty)> _
Public ReadOnly Property InsertParameters As ParameterCollection
    Get
'Usage
Dim instance As SPDataSource
Dim value As ParameterCollection

value = instance.InsertParameters
[PersistenceModeAttribute(PersistenceMode.InnerProperty)]
public ParameterCollection InsertParameters { get; }

Property value

Type: System.Web.UI.WebControls.ParameterCollection
A System.Web.UI.WebControls.ParameterCollection object that contains any parameters that will be used to insert data.

Remarks

The parameters in the InsertParameters collection depend on the data in the data-bound control, any parameters that are specified declaratively, and any parameters that are added programmatically. The entire collection is used by the associated SPDataSourceView object to insert data into the current data set.

See also

Reference

SPDataSource class

SPDataSource members

Microsoft.SharePoint.WebControls namespace

InsertCommand

InsertParameters