Generic List Collection / ObjectDataSource / GridView Sample

written by Ryan Olshan on Thursday, January 26 2006

I put together sample code that will run on the Northwind database that demonstrates using a generic List collection as a data source for an ObjectDataSource which populates a GridView control. All you have to do is specify the connection string in Web.config and the sample code will run. Enjoy.

Download C# ObjectDataSource Sample
Download VB.NET ObjectDataSource Sample

Kick this post on .NET Kicks

Similar Posts

  1. LinqDataSource, ListView, and DataPager example
  2. Dev Connections Day 2
  3. C# GridView Sorting/Paging w/o a DataSourceControl DataSource

Post a comment