为循环的repeater的第一行加个样式

代码
<asp:Repeater ID="repSmallBottom" runat="server">
                                        
<ItemTemplate>
                                            
<li class="<%# (Container.ItemIndex+1)==1?"on":"" %>">
                                                
<%#Eval("smallClassName"%>
                                            
</li>
                                        
</ItemTemplate>
                                    
</asp:Repeater> 

 http://hi.baidu.com/38608338/blog/item/f99970167352d60a4b90a727.html

posted @ 2010-04-28 16:46  唔愛吃蘋果  阅读(825)  评论(0编辑  收藏  举报