公务员考试怎么缴费,皮带哥张吉勇,英联英语
前台点击repeater的itemcreated触发事件。
cs代码:
if (e.item.itemtype == listitemtype.item || e.item.itemtype == listitemtype.alternatingitem) { if ((e.item.itemindex + 1) % 2 == 0) { ((htmltablerow)e.item.findcontrol("row2")).bgcolor = "#ffe6e6"; } else { ((htmltablerow)e.item.findcontrol("row2")).bgcolor = "#e8f5fd"; } }
如对本文有疑问,请在下面进行留言讨论,广大热心网友会与你互动!! 点击进行留言回复
asp.net搭建博客,使用BlogEngine.NET+MySql搭建博客
网友评论