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
Network / Internet issues
C# WMI query for getting current logged on user doesn't work on Windows 7
OCS 2007 R2
Command Button Images
get wrong autodiscover server in warning message....
I want free software for foxpro2.6 for dos ?
Dead harddrive - clicking sound
help calling javascript function
Controlling Exchange 2010 port usage + some mythbusting
Can I use a sql query file (.sql) with bcp.exe?