System.Web.UI.WebControls.BaseDataList.GetData Method

Returns an IEnumerable-implemented object that represents the data source.

Syntax

protected virtual IEnumerable GetData ()

Returns

An IEnumerable-implemented object that represents the data source.

Remarks

The BaseDataList.GetData method is a helper method called by derived classes (such as System.Web.UI.WebControls.DataGrid and System.Web.UI.WebControls.DataList) to retrieve the data source.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0