Hi, I am trying to do server-side paging with Subsonic. Using the .Paged function works well (the link to the webcast seems to be broken btw). However, how do I go the total number of records from my query (without the .Paged function) i.e. do I need to run a recordcount on the query which returns the full result first? If yes, then it kinda defeits the purpose of server-side paging?
e.g.
SQLQuery q = Select.Allfromcolumns .Paged(1,10), will return 10 records only. However, I need to know the total number of records from Products first to determine my Page links?
For a simple table, there is no need for server-side paging, but my query is very complicated one and I need to use the Paging functionality for performance mainly.
thanks