GetData Method

BaseDataList.GetData Method ()

 

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

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

protected virtual IEnumerable GetData()

Return Value

Type: System.Collections.IEnumerable

An IEnumerable-implemented object that represents the data source.

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

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft