This topic is locked

coloring table based on cell value

6/28/2007 4:56:13 AM
ASPRunnerPro General questions
M
manju.msrit author

hi
hello friends, i have problem here, please help me.

i have a jsp page in that jsp page i am displaying the data retrived from the database(mysql). i am displaying data in table format.

noe the problem is i want to color table cell based on cell value. that is if table cell consists value say "met" then i want to color that table cell in green color. like this for other cell.

first i want check the value and then select bgcolor for that cell accordingl .
i need working code for this . or sample code for checking condition in <td> tag.
please help me.its urgent.
thanks and regards

manjunath

Sergey Kornilov admin 6/28/2007

manjunath,
this forum is to discuss ASPRunnerPro questions.