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
Utilizing array gleamed from GetRows method in Access VBA
Virtual Disk 0 degraded Perc 5i integrated
How do I charge for a job?
Cisco 2950 Vlan for Voice
windows 2008 64 server
get-wmiobject error - Powershell
Multiple Stored Procedures in a single transaction
Crystal Reports Xi - Sorting a CrossTab Report by a Summary Field
HTC Touch 3G: How can I really upgrade WM6.1 to WM6.5 and/or porting to latest Android?
simple VB file download example