DataFormWebPart.DataSource Property
Returns the current data source control that is used by the Web Part to render data.
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
<WebPartStorageAttribute(Storage.None)> _
<BrowsableAttribute(False)> _
Public Overridable Property DataSource As IDataSource
Get
Set
'Usage
Dim instance As DataFormWebPart
Dim value As IDataSource
value = instance.DataSource
instance.DataSource = value
[WebPartStorageAttribute(Storage.None)]
[BrowsableAttribute(false)]
public virtual IDataSource DataSource { get; set; }
Property Value
Type: System.Web.UI.IDataSource
Returns IDataSource.