Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Adds the data source controls in the DataSources collection as child controls of the DataFormWebPart.
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Protected Overridable Sub AddDataSourceControls
'Usage
Me.AddDataSourceControls()
protected virtual void AddDataSourceControls()
Remarks
A pointer to the DataFormWebPart on the SPDataSourceView must be saved because FormContext is not set and ExecuteSelect(DataSourceSelectArguments) needs to inspect the PAGETYPE.