是一个留言本程序,,只看到读取数据库的"><%# DataBinder.Eval(Container.DataItem,"username")%> 语句, 到处找没看到循环
<table border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#ffffff" style="width: 908px" id="TABLE1" onclick="return TABLE1_onclick()">
<tr>
<td>
<asp:Repeater id="RepeaterPage" runat="server">
<ItemTemplate>
<table width="720" border="0" align="center" cellpadding="5" cellspacing="1" bordercolorlight="#99cc99"
bordercolordark="#669933" bgcolor="#dde3ce">
<tr>
<td width="109" rowspan="2" align="center" bgcolor="#ffffff" class="css"><img src="img/07.jpg" width="69" height="68"><br>
<font color="#ff0000"><%# DataBinder.Eval(Container.DataItem,"username")%></font></td>
<td width="224" bgcolor="#ffffff" class="css">发表时间:<%# DataBinder.Eval(Container.DataItem,"addtime")%></td>
<td width="285" bgcolor="#ffffff" class="css">
<table width="60%" height="19" border="0" align="right" cellpadding="0" cellspacing="0">
<tr>
<td><img src="img/friend.gif" alt="来自" width="18" height="18"></td>
<td><img src="img/qq.gif" alt="qq号:<%# DataBinder.Eval(Container.DataItem,"qq")%>" width="18" height="18"></td>
<td><img src="img/MAIL.gif" alt="Email:<%# DataBinder.Eval(Container.DataItem,"email")%>" width="18" height="18"></td>
<td><img src="img/ip.gif" alt="IP:<%# DataBinder.Eval(Container.DataItem,"ip")%>" width="18" height="18" border="0"></td>
<td><img src="img/url.gif" alt="主页" width="18" height="18"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="2" bgcolor="#ffffff" class="css"><font color="#009900"><strong><font color="#cc6600"><img src="img/<%# DataBinder.Eval(Container.DataItem,"face")%>.gif" width="20" height="20"><%# DataBinder.Eval(Container.DataItem,"title")%></font></strong><br>
<%# DataBinder.Eval(Container.DataItem,"content")%><br>
</font><font color="#666666">--------------------------------------------------------------------------------
</font><font color="#666666">&nbsp; </font><a href="replay.aspx?id=<%# DataBinder.Eval(Container.DataItem,"id")%>">[回复]</a> <a href="del.aspx?id=<%# DataBinder.Eval(Container.DataItem,"id")%>">[删除]</a><br>
  <font color="#999999">周郎回复:<%# DataBinder.Eval(Container.DataItem,"huifu")%></font></td>
</tr>
</table>
<table width="75%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td>&nbsp;</td>
</tr>
</table>
</ItemTemplate>
</asp:Repeater>
                    &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;
                    &nbsp;<td bgcolor="#ffffff" class="css" style="width: 224px">
                    </td>
                        <td bgcolor="#ffffff" class="css" colspan="2" style="height: 87px">
                        </td>
                            <font color="#009900"></font><font color="#cc6600"></font>
                                <td bgcolor="#ffffff" class="css" style="width: 285px">
                    </td>
</tr>
</table>
                        <table align="right" border="0" cellpadding="0" cellspacing="0" height="19" width="60%">
                        </table>
                            <td bgcolor="#ffffff" class="css" style="width: 285px">
                    </td>
                        <table align="right" border="0" cellpadding="0" cellspacing="0" height="19" width="60%">
                        </table>
                    &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;
                    &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;
                    &nbsp;&nbsp; &nbsp;<img id="IMG2" alt='IP:<%# DataBinder.Eval(Container.DataItem,"ip")%>'
                        border="0" height="18" src="img/ip.gif" width="18" onclick="return IMG2_onclick()" /><td bgcolor="#ffffff" class="css" colspan="2"
                        style="height: 87px">
                    </td>
                        <font color="#009900"></font><font color="#cc6600"></font>
                            <td bgcolor="#ffffff" class="css" colspan="2" style="height: 87px">
                        <font color="#009900"></font><font color="#cc6600"></font>
                    &nbsp; &nbsp;<table width="75%" border="0" align="center" class="css">
<tr>
<td align="center" style="width: 134px"><asp:HyperLink id="lnkPrev" runat="server">上一页</asp:HyperLink>&nbsp;&nbsp;<asp:HyperLink id="lnkNext" runat="server">下一页</asp:HyperLink>&nbsp;&nbsp;<asp:label id="lblCurPage" runat="server"></asp:label></td>
</tr>
</table>
</td>
       <uc2:buttom id="buttom1" runat="server"></uc2:buttom>