Repeater控件 帮帮我 高手们
<asp:Repeater ID="First" runat="server">
                      <ItemTemplate>
                          <div class="pad-10">
                             <table style="height: 277px; width: 1000px" >
                             <tr>
                             <td rowspan="2" class="style15" >                    
                                  <asp:ImageButton ID="Cai1" runat="server" Height="270px"  
                                     Width="321px"  ImageUrl='~/items/<%# Eval("Pro_Image") %>'/>
                             </td>
                             <td class="style11" >
                                 <asp:ImageButton ID="Cai2" runat="server" Height="136px"  
                                     Width="187px" ImageUrl='~/items/<%# Eval("Pro_Image") %>'/>
                                 </td>
                             <td class="style12" ><asp:ImageButton ID="Cai3" runat="server" Height="136px"  
                                     Width="187px" ImageUrl='~/items/<%# Eval("Pro_Image") %>'/></td>
                             <td class="style13" ><asp:ImageButton ID="Cai4" runat="server" Height="136px"  
                                     Width="187px" ImageUrl='~/items/<%# Eval("Pro_Image") %>'/></td>
                             </tr>
                             <tr>
                             <td class="style9" >
                                 <asp:ImageButton ID="Cai5" runat="server" Height="136px"  
                                     Width="187px" ImageUrl='~/items/<%# Eval("Pro_Image") %>'/>
                                 </td>
                             <td class="style10" ><asp:ImageButton ID="Cai6" runat="server" Height="136px"  
                                     Width="187px" ImageUrl='~/items/<%# Eval("Pro_Image") %>'/></td>
                             <td class="style14" ><asp:ImageButton ID="Cai7" runat="server" Height="136px"  
                                     Width="187px" ImageUrl='~/items/<%# Eval("Pro_Image") %>'/></td>
                             </tr>
                           </table>
                          </div>
                      </ItemTemplate>
                  </asp:Repeater>
我想通过数据库,从后台绑定,让每个ImageButton对应数据库的图片,但我对这方面真不了解。所以请各位大虾教教!
------解决方案--------------------晕死 你直接一个TD 就可以了  得到集合 就绑定Repeater.DataSource=集合
Repeater.DataBind();就可以了 不用循环的
------解决方案--------------------ImageUrl='/items/<%# Eval("Pro_Image") %>'/> 或者../试试 ImageUrl='<%# Eval("Pro_Image") %>'/>是否会被转义