共用方式為


DataFormWebPart.SetDataSourceProperties Method

Sets properties for the data source associated with the Web Part.

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

Syntax

'Declaration
Protected Overridable Sub SetDataSourceProperties
'Usage

Me.SetDataSourceProperties()
protected virtual void SetDataSourceProperties()

Remarks

This method should be subclassed for the specific Web application.

See Also

Reference

DataFormWebPart Class

DataFormWebPart Members

Microsoft.SharePoint.WebPartPages Namespace

SPDataSource