repeat样式显示
怎么在repeat中显示两套样式?比如奇数行显示样式A,偶数行显示样式B,求解!谢谢!
分不够了,只有这么多... CSS样式,repeat
[解决办法]
http://blog.csdn.net/chinacsharper/article/details/9095387
<tr align="center" style='background-color: <%#(Container.ItemIndex%2==0)?"#eeeeee":"#ffffff"%>'
onmouseover="this.style.background='#ddeeff'" onmouseout="this.style.background='<%#(Container.ItemIndex%2==0)?"#eeeeee":"#ffffff"%>'"> 。。。