I'm displaying records from a database:
When they are listed on my page I want to highlight the most recent record which would on the most recent date.
Maybe highlight with the <td> background a different color?
Does anyone know how I could do this?
I've been searching for examples and trying this myself but not had any success.
Thanks.
Code:
While Not obj_RS1.EOF
Response.Write "<tr>"
Response.Write "<td>" & obj_RS("Make") & "</td>"
Response.Write "<td>" & obj_RS("Model") & "</td>"
Response.Write "<td>" & obj_RS("Delivery Date") & "</td>"
Response.Write "<td>" & obj_RS("Reg") & "</td>"
Response.Write "</tr>"
obj_RS.MoveNext
When they are listed on my page I want to highlight the most recent record which would on the most recent date.
Maybe highlight with the <td> background a different color?
Does anyone know how I could do this?
I've been searching for examples and trying this myself but not had any success.
Thanks.