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
C loop string cat a file name + int n loop
sendAndLoad onHTTPStatus issue
From BCD to ADO
Sage ACT 2010 - How to create the database in the server and provide connection for remote computers
Some sort of offline form that will save entries of data from several users
Count number of occurances in a string
Run the first php script in background - When done - run the next script ...
threads in mfc
SQLCommandBuilder - GetUpdateCommand, GetInsertCommand and GetDeleteCommand Questions
Best way to find out what a user has access to on a file server