/ Published in: C#
To use a different class for alternating item of asp.net repeater control
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<tr <%# Container.ItemType != ListItemType.AlternatingItem ? "class='even'" : "" %> >