Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

SPDataSource.InsertCommand property

Gets or sets a query that is used to insert data.

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

public string InsertCommand { get; set; }

Property value

Type: System.String
A System.String object that contains a query expressed as a Collaborative Application Markup Language (CAML) fragment.

The query string in the InsertCommand property is used by the associated SPDataSourceView object to insert data into the current data set.

© 2015 Microsoft