This sample illustrates the implementation of IEnumerable collection in the GridDataBoundGrid.
Below is an image of a GridDataBoundGrid IEnumerable collection.
GridDataBoundGrid IEnumerable Demo
Features
The GridDataBoundGrid can be binded with IEnumerable collection.
The following code illustrates binding a datasource to the GridDataBoundGrid through IEnumerator.
//Creates an object for IEnumerator.
CustomerCollection customers = PopulateCustomers.CreateCustomers();
//Bind the datasource to GridDataBoundGrid.
this.gridDataBoundGrid1.DataSource = customers;