DataFormWebPart.DataSource property
傳回目前的資料來源使用 [網頁組件呈現資料的控制項。
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
<BrowsableAttribute(False)> _
<WebPartStorageAttribute(Storage.None)> _
Public Overridable Property DataSource As IDataSource
Get
Set
'用途
Dim instance As DataFormWebPart
Dim value As IDataSource
value = instance.DataSource
instance.DataSource = value
[BrowsableAttribute(false)]
[WebPartStorageAttribute(Storage.None)]
public virtual IDataSource DataSource { get; set; }
Property value
Type: System.Web.UI.IDataSource
傳回IDataSource。