views:

22

answers:

0

I mean I have a gridview in aspx. Then I have the ObjectDataSource. It's binding, it looks all right. Got paging allow = true also.

I don't want to go again to the database for the same datatable (ObjectDataSource's Selectmethod), so I'd like to do something like:

 DataTable dt = ObjectDataSource.GetOriginalDataTableLoadedFrom();

Atr some point, before the page finishes loading. Then I'd parse the DataTable. All of it. Not just what it is on this page (grvList_RowDataBound is not enough)

I basically need to display a message on the screen that depends on some of the rows in the source datatable.