Export (0) Print
Expand All

SPDataSource.List property

Gets or sets the list that the query will operate against.

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

public SPList List { get; set; }

Property value

Type: Microsoft.SharePoint.SPList
An SPList object that represents the list that the query will operate against.

If you specify a list by setting this property, it is not necessary to specify a list in the SelectParameters property.

Show:
© 2015 Microsoft