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)

'Declaration
<BrowsableAttribute(False)> _
<WebPartStorageAttribute(Storage.None)> _
Public Overridable Property DataSource As IDataSource
	Get
	Set
'Usage
Dim instance As DataFormWebPart
Dim value As IDataSource

value = instance.DataSource

instance.DataSource = value

Property value

Type: System.Web.UI.IDataSource
Returns IDataSource.
Show: