<asp:Repeater ID="rptTest" runat="server">
<HeaderTemplate>
<table>
</HeaderTemplate>
<ItemTemplate>
<asp:PlaceHolder ID="PlaceHolder1" runat="server" Visible='<%# (Container.ItemIndex + 1) % 7 ==1 %>'>
<tr>
</asp:PlaceHolder>
<td>
<%#Eval("Year") %>//此处填上您所要展示的数据列
</td>
<asp:PlaceHolder ID="PlaceHolder2" runat="server" Visible='<%# (Container.ItemIndex + 1) % 7==0 %>'>
</tr> </asp:PlaceHolder>
</ItemTemplate>
<FooterTemplate>
</table>
</FooterTemplate>
</asp:Repeater>