Using custom collections with the ASP.NET DataGrid control

  • Home
  • Blog
  • Using custom collections with the ASP.NET DataGrid control

Most of the developer use data controls for retrieving data and binding it to the data grid.
But collections in .net technology provide great alternative instead of using data reader,data set or data view to bind data grid.

I have found a great msdn article that describes all thing that you can do with data grid and collections.

i.e. User InterfaceDatabase Structure and collectionConcepts behind the strongly typed collections.Creating the basic collection objectsPopulating the collection with data from the DAL

Binding the Data Grid control to the custom collection

Caching collectionsCreating a class to filter collectionsCreating a class to sort collectionsBringing it all together: filtering and sorting collectionshere is the link for that article:

http://www.microsoft.com/belux/msdn/nl/community/columns/ceulemans/custcollections.mspx