Hi All,
I need to create a copy of the existing cachedrowset object for pagination.
I have a link which on click will display a page with 16 records and at the bottom there will next,prev button for pagination.
So on 1st click of the link I am:
1. passing the pageNo as 0
2. fetching all the records from the db as Resultset Object.
3. passing pageNo as 1 and populating 16 records from the resultset.
Now when i will click the next button i am passing the pageNo as 1,but i am going to the same method where i have populated the CRS object with RS object.
I have the intention of fetching next set of records which is there in CRS object,but again the RS query is executed,which i dont want.
I want all my records shud be populated in the CRS object from the RS object only once.
Each time i am clicking the next or prev button i wll iterate the CachedRowSet and display in
jsp.
I tried CreateShared() ..buts its not working.
Please Suggest....
Thanks
Amarshi