hi everyone
i'm really engaged with subsonic but I'm not sure how make it work with paging
i mean how can i get "the page" in a list or how is the best way to managing the total table in my base, page by page
youll see i tried three things:
m02colegio is an class generated from activerecord
IList<m02colegio> loscolegios;
loscolegios = m02colegio.GetPaged(0, 80).ToList();
----------- and:
SubSonic.Schema.PagedList<m02colegio> loscolegios;
loscolegios = m02colegio.GetPaged(0, 80);
----------- and:
var paged = m02colegio.GetPaged(0,80).All<m02colegio>(x=>x.m02ccolnom.Contains(" "));
// 'cause i dont know how to tell it to consider all records
loscolegios = m02colegio.All().ToList();
but after every try i dont get any exception and loscolegios always is NULL
i need to access the records in this manner
so, what is the best way?
how can i get the first page and then how advance among pages??
thanks in advanced
gmo camilo