This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to make a page type recordset

 
Jagmohan Negi
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can i make a page type(ex google search) recordset as my SQL query returns a large number of records and to display them in a single page is not possible, so i want to display them 20 per page and buttons like perv. and next to move to prev. and next records.

Thanx for the help
 
vishwam gandi
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can do this by different methods
1. by setting up record set ,max row number in ur page as a session objects
traverse record set each time ur page called upto max row number of prevoius page.

2.fire ur query in page each time it is called & traverse upto max row number of prevoius page.

3. You can use a datagrid tag lib which is available at http://jakarta.apache.org/taglibs/index.html

I hope this solves ur problem
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic