<table>
    
<tr>
        
<td>用户编号</td>
    
</tr>
    
<asp:Repeater ID="rptUser" runat="server">
    
<ItemTemplate>
    
<tr style='background-color:<%#(Container.ItemIndex%2==0)?"red":"green"%>'>
        
<td><%#Eval("UID")%></td>
    
</tr>
    
</ItemTemplate>
    
</asp:Repeater>
</table> 

 

相关文章:

  • 2021-12-14
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-03
  • 2021-12-10
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-10-04
  • 2021-08-12
  • 2022-12-23
  • 2021-08-14
相关资源
相似解决方案