repeater绑定数据 三层架构
请问高手怎么让repeater绑定数据啊,后台用三层来写!求解!
------解决方案--------------------http://www.cnblogs.com/Aricc/archive/2009/03/26/1421946.html
------解决方案--------------------<asp:Repeater ID="Rep_Bra" runat="server">
<HeaderTemplate>
<div class="filter-item">
<div class="product-spec-filter">
<div class="title">
品牌:
</div>
<table id="Tab_Bra" class="filter" cellpadding="0" cellspacing="0">
<tr>
<td id="Td_Bra_0" class="item">
<a href='<%# ReturnAllUrlOfBrand()%>'>全部</a>
</td>
</HeaderTemplate>
<ItemTemplate>
<td id='Td_Bra_<%# Eval("BrandID")%>' class="item">
<a href='<%# ReturnUrlOfBrand(Eval("BrandID"))%>'><%# Eval("BrandName")%></a>
</td>
</ItemTemplate>
<FooterTemplate>
</tr>
</table>
&