how to generate rows with multiple colors using While loop
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   radhakrishna_kotakonda
Posted On:   Thursday, November 13, 2003 04:17 PM

Dear programmers,

I am generating a table with a while loop and displaying user info from database in this table. works great. however,
I have displyed all rows from the table it also works fine,
tha problem is that i need each row with different background color

any advice would be much appreciated.

advance thanks!

k.radhakrishna

Re: how to generate rows with multiple colors using While loop

Posted By:   Eric_Maginniss  
Posted On:   Friday, November 14, 2003 08:38 AM

I have always done it with an integer counter that gets incremented inside the loop and then do something like:


out.println(");
About | Sitemap | Contact