repeater模板嵌套
<asp:Repeater ID="repeater1" runat="server">
<ItemTemplate>
<%# Eval("name") %> <%# Eval("fid") %>
<asp:Repeater ID="repeater2" runat="server" DataSource=' <%# Getforum_fid(Eval("fid")) %>'> //注意引號,Getforum_fid後台一個方法
<ItemTemplate><%# Eval("name")%> </ItemTemplate>
</asp:Repeater>
</ItemTemplate>
</asp:Repeater>