different class for alternating item


/ Published in: C#
Save to your folder(s)

To use a different class for alternating item of asp.net repeater control


Copy this code and paste it in your HTML
  1. <tr <%# Container.ItemType != ListItemType.AlternatingItem ? "class='even'" : "" %> >

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.