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

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -