IEnumerable Demo

This sample illustrates the implementation of IEnumerable collection in the GridDataBoundGrid.

Below is an image of a GridDataBoundGrid IEnumerable collection.

IEnumerable Demo

GridDataBoundGrid IEnumerable Demo

Features

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;