Microsoft
Software
Hardware
Network
Question : How to change td bgcolor based on database result returned
<td><%=rs("Red")%></td>
I would like the td bgcolor change to red, when <%=rs("Red")%> returns number 1.
If the returned value is else than 1, I'd like the td bgcolors be white, or no color at all.
Can anyone please help me with this? Thank you very much.
Answer : How to change td bgcolor based on database result returned
I was playing with it and finally I found the solution:
<%If rs("Red") =1 Then %>
<td align="center" bgcolor="red"> </td>
<%Else%>
<td bgcolor="white"> </td>
<%End If%>
Random Solutions
How do I push IE 8 through WSUS using Group polciy
How to use multiple connection strings in .net
htaccess Partial Query String Rewrite
Replace apostrophes in all Session Variables in C#?
how to prove power surge damage
SSIS/TSQL Three Part Naming for Temp Table
Intel Remote Monitoring Module
WSUS clients disappear when syncronising
AIX DB2 error
what is the best linux distro and ide for web programming (PHP) ?