Change Your_Query to match your query name, Your_data to match your field name(s), and change the colors (ffffff and dadada) to match the colors you want.
Alternating row colors
<tr bgcolor="#iif(Your_Query.CurrentRow MOD(2) eq 1,de('ffffff'),de('dadada'))#"><td>#Your_data#</td></tr>
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.