Publisher review:Alternate Row Colors will display the results from a database in alternate table row colors. The code will display the results from a database in alternate table row colors.
The code uses the VBScript Mod operator. The VBScript Mod operator divides two numbers and returns the remainder. So in this code if iRow counter is divisible by 2 leaving a remainder of 0 then the table row will be set to that value.
Alternate Row Colors snippet is a ASP.NET script for Snippets scripts design by Michael Wall.
It runs on following operating system: Windows.
Operating system:Windows