vorrei far cambiare colore in automatico alla cella del campo "a2"
cioè se il campo è pieno, allora il colore è rosso
se il campo è vuoto allora il colore è bianco
come posso fare?
codice:<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%> <html> <head> <title>Untitled Document</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body> <% SQL="SELECT * FROM eventi" Set rec = Server.CreateObject("ADODB.Recordset") Set Rec=Conn.Execute(SQL) While Not rec.EOF %> <table width="100%" border="0"> <tr> <td width="23%"><%=rec("a1")%></td> <td width="77%"><%=rec("a2")%> </td> </tr> </table> <% rec.MoveNext Wend rec.close%> </body> </html>