DataFormWebPart.DataSourceID property

Gets or sets the data source ID.

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

Syntax

'Declaration
<WebBrowsableAttribute(False)> _
<PersonalizableAttribute(PersonalizationScope.Shared, True)> _
Public Property DataSourceID As String
    Get
    Set
'Usage
Dim instance As DataFormWebPart
Dim value As String

value = instance.DataSourceID

instance.DataSourceID = value
[WebBrowsableAttribute(false)]
[PersonalizableAttribute(PersonalizationScope.Shared, true)]
public string DataSourceID { get; set; }

Property value

Type: System.String
Returns the ID of the current data source control.

See also

Reference

DataFormWebPart class

DataFormWebPart members

Microsoft.SharePoint.WebPartPages namespace