Export (0) Print
Expand All
Expand Minimize

DataFormWebPart.ConnectToDataSourceControl method

Denotes whether the control that is the data source for this data form Web Part is connected.

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

protected virtual bool ConnectToDataSourceControl()

Return value

Type: System.Boolean
true if the connection was successful; otherwise, false.

The data source control connects to a data source such as a database, entity class, or middle-tier object and then retrieves or updates data. Any class that implements the IDataSource interface is a data source control. The data source is identified by the DataSourceID property.

© 2015 Microsoft