Loading...

How to Bind ASP.NET GridView to ObjectDataSource

7,182 views

Loading...

Loading...

Loading...

Rating is available when the video has been rented.
This feature is not available right now. Please try again later.
Published on May 16, 2012

Demonstrates on developing a class library and binding the data to GridView using ObjectDataSource. For more info: http://www.dotnetcodecentral.com/Post...


Demonstrates the following: -Creating a class library project -Creating a simple database helper class (to interact with database) -Creating Model classes (to hold data) -Creating Factory Classes which instantiate Model Classes (fetches data using database helper class) -Converting a DataTable to a Custom object (business class/object) using LINQ to DataSet/DataTable -Creating an ASP.NET web site -Adding a reference to class library project -Configuring web.config for connection string -Configuring ObjectDataSource to attach to a method in Factory Class -Configuring GridView to bind to ObjectDataSource

The output will be a two column GridView which displays list of Categories from Northwind Database.

Comments are disabled for this video.
When autoplay is enabled, a suggested video will automatically play next.

Up next


to add this to Watch Later

Add to

Loading playlists...