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
Command to attach the database sql database file MS SQL 2000 desktop edition
Cisco CallManager CRD Analysis and Reporting
Excel 2007 viewer error in Windows Server 2008 R2 terminal server (crash)
Moved a Dolpin 7 website to a new server and I get an error message.
Do you know a utility in Unix I could use that would compare 2 files (for ex:, files A.txt vs B.txt) and display the differences between the 2 files?
Cropping Photos Without Changing The Aspect Ratio in Fireworks 8
IIF Field Length Question
Class Diagram
Sonic Wall Continuous Backup Problem
Globally change the Blackberry Service Display name