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 to insert a single blob?
obtain source (/usr/src) for 8.0-RELEASE-p3
Dot Net Written Test and Interview questions, Can any 1 suggest link
Import text file - definition (field name, delimited, lng) based on a table
Split strings with RegEx
Quickr..How do I edit the tabs on the home page of my place? I want to add a tab
MySQL Rows to Columns by Group
unknown process - should I be concerned
Can I add multi-millions of records to SQL database while replication is on? Will it work?
call .rdl with store procedure with parameter