ObjectDataSource

  • Thread starter Thread starter Bill Gower
  • Start date Start date
B

Bill Gower

I am using an ObjectDataSource to populate a GridView. The ObjectDataSource
accesses the data in the table by means of a Stored Procedure using a
SQLCommand.ExecuteReader. Does this mean that I can't easily do sorting,
filtering and paging in my GridView

Bill
 
What kind of data do you bind against? IOW, what is the result of call by
ObjectDataSource?
 
Well,

The good thing is that DataReaders are quite fast and you can tune it up
so it performs like a rocket.

Bad news are that you will need to make some extra code to support sorting
and paging (you will make real paging just only selecting the records that
are in the page).

Here you have some useful links:

http://aspnet.4guysfromrolla.com/articles/031506-1.aspx
http://aspnet.4guysfromrolla.com/articles/032206-1.aspx

Good Luck
Braulio

/// ------------------------------
/// Braulio Diez
///
/// http://www.tipsdotnet.com
/// ------------------------------
 
Back
Top