People .. I have a web site in classic asp that revercute a table that is updated daily in the SQL server.
Then I have a column in the table named column1 that shows values from 0 to 120
In my asp, this column is shown in formatnumber (RSK ("column1"), 2)% >
(RSK is the query that shows the data in the table)
so far, but I want to put a condition that if the displayed values are from 0 to 50, appear in a color, if the data is from 51 to 100 appear in a second color and if they are from 101 to 120, appear in a third color.
How do I change the CSS class depending on the data shown in the table?
I tried to do this to see if I could achieve at least one of the conditions:
<% col1 =Request.Querystring("col1") If (col1>="100") then Response.Write("td{font-color:blue;}"); End If %>
But it did not work. "Expected end of statement"