Share via


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)

Syntax

[BrowsableAttribute(false)]
[WebPartStorageAttribute(Storage.None)]
public virtual IDataSource DataSource { get; set; }

Property value

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

See also

Reference

DataFormWebPart class

DataFormWebPart members

Microsoft.SharePoint.WebPartPages namespace