ObjectDataSource

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
 
M

Miha Markic

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

Guest

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
/// ------------------------------
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top