Building a web app here and I would like to be able to alternate my listeview rows. Can someone give me some sample code to achieve this? The 3 standard ones in VS2010 sucks and I’d like to be able to give it something that goes along with the scheme of my webapp. Row 1= blue, 2=gray, 3=blue, etc. Something to that effect.
Thanks
Set the colors in your templates:
Edited To Add
I would imagine the header is built in the LayoutTemplate, so you can bold them there (see the code I added). You’ll probably want to use CSS – define the various styles you need in a separate CSS file as classes, and assign the classes where needed to save excess typing.
I’ve abbreviated the code considerably, but it should get you going where you want.