BaseDataList::GetData Method ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: