posted 17 years ago
i have nearly 1000 records, and i paginate with my own code in that i retriew all the records(1000) from database and stored in a session. And finally show page wise with 10 records per page.
But i found another way, instead of getting whole records from the database retriew particular data for the page and when click next page it gets the particular data from the database.
Which way is better or what is proper way for feasibility and quick response. Because the first one make time consuming