Export (0) Print
Expand All

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
<WebPartStorageAttribute(Storage.None)> _
<BrowsableAttribute(False)> _
PublicOverridablePropertyDataSourceAsIDataSourceGetSet
'Usage
DiminstanceAsDataFormWebPartDimvalueAsIDataSourcevalue = instance.DataSource

instance.DataSource = value

Property value

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

Community Additions

Show:
© 2014 Microsoft