共用方式為


DataFormWebPart.DataSourceID Property

Gets or sets the data source ID.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

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

value = instance.DataSourceID

instance.DataSourceID = value
[PersonalizableAttribute(PersonalizationScope.Shared, true)]
[WebBrowsableAttribute(false)]
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