DataFormWebPart.AddDataSourceControls method
將資料來源控制項加入為子控制項的DataFormWebPart的DataSources集合中。
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Protected Overridable Sub AddDataSourceControls
'用途
Me.AddDataSourceControls()
protected virtual void AddDataSourceControls()
備註
必須儲存DataFormWebPartSPDataSourceView上的指標,因為未設定FormContext和ExecuteSelect(DataSourceSelectArguments)需要檢查PAGETYPE。