Hellos,
I'm running a script that updates an sql sb every few seconds, I have an asp that runs a quesy and refreshes the web table based on the results. There are 10 fields in the result not all of them will have data abd they are populated left to right. I would like the empty <td bgcolor = ""> and the populated <td bgcolor = "gray">.
The Problem that I'm finding is that the bgcolor of each td element is not refreshed to display the result and new bgcolor based on the quey result and td population. I'm using <meta http-equiv="refresh" content="10"> to refresh the asp page. The asp is very simple:
Then the html is:
Any Ideas or am I going about this the wrong way?
Thanks, Danzig
I'm running a script that updates an sql sb every few seconds, I have an asp that runs a quesy and refreshes the web table based on the results. There are 10 fields in the result not all of them will have data abd they are populated left to right. I would like the empty <td bgcolor = ""> and the populated <td bgcolor = "gray">.
The Problem that I'm finding is that the bgcolor of each td element is not refreshed to display the result and new bgcolor based on the quey result and td population. I'm using <meta http-equiv="refresh" content="10"> to refresh the asp page. The asp is very simple:
Code:
If str_Online is null Then
str_BG2 = " bgcolor=gray"
Else
str_BG2 = ""
End If
Code:
Response.Write"<tr><td width=90"&str_BG2&">Some Result </td></tr>
Any Ideas or am I going about this the wrong way?
Thanks, Danzig