Last post Nov 25, 2011 07:56 PM by Decker Dong - MSFT
Nov 24, 2011 05:22 AM|sinhaify|LINK
What is the Difference Between objectDataSource and SQLDataSource? While we use them in gridview
Nov 24, 2011 05:31 AM|patricgreat|LINK
1) objectdatasource supports dyanmic paging
2) you cant give your classes/mehtods as a datasource for sqldatasource in aspx while you can in objectdatsource
3) for objectdatsource selectmethod, return method must be dataset
4) less coding for sqldatasoruce
Nov 25, 2011 07:56 PM|Decker Dong - MSFT|LINK
ObjectDataSource can let you define your own Data Access way——You can use general ADO.NET, LINQ or EntityFramework and other way of accessing data contents to offer your UI three ways: Selecing, Inserting, Deleting and Updating methods.
Compared with this, SqlDataSource can only use a general ADO.NET way to access db.