SPDataSource constructor (SPList)

Initializes a new instance of the SPDataSource class with a specified list as the source of data.

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

Syntax

'Declaration
Public Sub New ( _
    list As SPList _
)
'Usage
Dim list As SPList

Dim instance As New SPDataSource(list)
public SPDataSource(
    SPList list
)

Parameters

Remarks

This overload of the constructor automatically initializes parameters for select, insert, update, and delete operations with the string representation of the SPList.ID property.

See also

Reference

SPDataSource class

SPDataSource members

SPDataSource overload

Microsoft.SharePoint.WebControls namespace

List