You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user-cs@ibatis.apache.org by Matt Grande <ma...@fluidmedia.com> on 2006/08/25 19:49:34 UTC

Pagination

Hi all,

I was wondering how I could use the ExecuteQueryForPaginatedList to
return an IList or ArrayList for all the elements within the current
page?  As far as I can tell, the Current method just returns the current
item, not the current page.

Code (This is all that I know I'm doing right):
IPaginatedList list = null;
list = ExecuteQueryForPaginatedList("SelectAllSellingCompanies", null,
10);


Thanks,
- Matt.




Re: Pagination

Posted by Gilles Bayon <ib...@gmail.com>.
I don't understand your question but you can see an exemple of
pagination in the unit test file StatementTest.cs
see TestExecuteQueryForPaginatedList


-- 
Cheers,
Gilles

<a href="http://www.amazon.com/gp/registry/6JCP7AORB0LE">Wish List</a>