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
are there any inherent issues introducing a server 2008 system into a predominantly 2003 network?
SBS 2008 Console crashes on Network Devices
SSAS Filter Unused Dimension Members
Java Compile
Save Publishign site as template in SharePoint 2010
AUTOSTART ESXI VIRTUAL MACHINES
PC will not reboot unless press power button
Microsoft Outlook Delayed delivery option
Setup multiple ethernet interfaces on Redhat to support Oracle RAC
Browse SBS 2008 user redirected folders as an Administrator