Advertisement
2002VB Internet/ Browsers/ HTML #25492

Alternate Row Colors

Ever want alternate the row colors of your record set? This code is the easiest way to do it!

AI

AI Summary: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Source Code
original-source
if intRowColor = 0 Then
	Response.Write "<TR bgcolor=""#ddddfc"">"
	intRowColor = 1
Else
	Response.Write "<TR bgcolor=""#ffffff"">"
	intRowColor = 0
End if
Original Comments (3)
Recovered from Wayback Machine