If you want an alternating background color on a row in a gridview it’s just to add the AternatingRowStyle-BackColor-attribute. It’s not the same thing with a repeater but this is how you do it.
Achieve AlternatingRowStyle BackColor with a repeater
Feb 26 2008