paging of a typedlist

Posts   
 
    
rparkins
User
Posts: 66
Joined: 04-May-2005
# Posted on: 13-Feb-2006 11:58:24   

Hi

First a quick apology if this is somewhere in the depths of the forum, but I have been searching a while and havn;t found a complete solution to my problem...

I have a very large table and a delay time of something like 20 seconds each time I select a page of items in my datagrid. To xolve this I would like to use the rowcount option from here http://www.codeproject.com/aspnet/PagingLarge.asp to do my paging and can understand how to generate outside of LLB but wanted to ask if there is an easy way to do this in LLB.

I am looking to implement custom paging setting the page number via the virtualitemcount with a getscaler (count(*)) call (which I am hoping is faster than getting all data).

I "think" I have seen solutions with a DataAdapter but I dont understand how to instantiate this? can I implement this with a typedlist? If anyone has examples or could point me to a thread I would be grateful.

Sorry if this is obvious.

Many thanks in advance

Rich

rparkins
User
Posts: 66
Joined: 04-May-2005
# Posted on: 13-Feb-2006 13:15:13   

Hi,

I was using old code by another developer who was using an old version of LLB! Have checked the new version that I am using in a seperate project and hey its there simple_smile

Sorry for the post, please ignore...

Regards

Rich