Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Variable Number of Table Rows

 
Lou Pelagalli
Ranch Hand
Posts: 150
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

My task is to search an Oracle database with SQL and display the search results based on what the user entered in certain fields - a simple search engine for our application.

The problem is: I won't know how many rows the the <table> tag will contain until the search is complete and the results are returned in an ArrayList.

I need to display one table row for each entry in the ArrayList.
The number of search results could be zero to n.
The number of columns to display will always be 12.
The first row displayed will be column headings.


Thanks You in Advance for Your Help,

Lou
[ May 26, 2004: Message edited by: Lou Pe ]
 
Marc Peabody
pie sneak
Sheriff
Posts: 4727
Mac Ruby VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
check out the logic tags
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic