<asp:Repeater ID="repcolor" runat="server" OnItemDataBound="repcolor_OnItemDataBound"> <HeaderTemplate> <table style="border: 1px solid black;"> <thead> <tr> <td> Color </td> <asp:Repeater ID="hsize" runat="server"> <ItemTemplate> <td style="border: 1px solid black;"> <%# DataBinder.Eval(Container, "DataItem.SValue")%> </td> </ItemTemplate> </asp:Repeater> <td style="border: 1px solid black;"> Total </td> </tr> </thead> </HeaderTemplate> <ItemTemplate> <tr style="border: 1px solid black;" id="tr_tsize"> <td style="border: 1px solid black;"> <asp:Label ID="lblColorID" Style="display: none;" runat="server" Text='<%#Eval("ID") %>'></asp:Label> <%# DataBinder.Eval(Container, "DataItem.Name") %> </td> <asp:Repeater ID="tsize" runat="server" OnItemDataBound="tsize_OnItemDataBound"> <ItemTemplate> <td style="border: 1px solid black;"> <asp:Label ID="lblSizeID" Style="display: none;" runat="server" Text='<%#Eval("ID") %>'></asp:Label> <asp:TextBox ID="id" runat="server" class="box" Style="width: 50px;"></asp:TextBox> </td> </ItemTemplate> </asp:Repeater> <td style="border: 1px solid black;"> <asp:TextBox ID="total" runat="server" class="total" ReadOnly="true" Style="width: 50px;"></asp:TextBox> </td> </tr> </ItemTemplate> <FooterTemplate> </table> </FooterTemplate> </asp:Repeater>
tsize.some_property = ...
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)