c# - Output table with nested repeaters -
i nest 2 asp.net repeaters output content of table (dynamic number of columns). table contained in sqldatasource object.
i know how gridview, bind events controllers in different cells aswell.
how go doing this?
ie
for rows columums output cell
attempt:
<asp:repeater id="repeater1" runat="server" datasourceid="sqldatasource1"> <headertemplate> <asp:repeater id="repeater2" runat="server" datasourceid="<%# (datarowview)container.dataitem %>"> <itemtemplate><%# ((dataitemcontainer).dataitemcontainer)%></itemtemplate> </asp:repeater> </headertemplate> </asp:repeater>
Comments
Post a Comment