Я пытаюсь построить структуру таблицы, используя asp.net Repeater, как показано ниже:
column 1 | Column 2
Row1 cell1 cell2
---------------------------------------
TABLE 1 TABLE 2
----------------------------------
col1|Col2|Col3_ same column and rows are here as well
Row2 row1____|____|____
row2___ |____|_____
row3____|____|_____
Но я застрял в добавлении Таблица 1 и Таблица 2 для Строка 2. Я не уверен, как добавить таблицу в одну ячейку внутри Repeater, и данные должны привязываться к DataTable.
И ниже мой код для Repeater:
<asp:Repeater ID="Repeaterp" runat="server">
<HeaderTemplate>
<table>
<tr><th>usedcount</th><th>notUsedCount</th></tr>
</HeaderTemplate>
<ItemTemplate>
<tr>
<td><asp:TextBox runat="server" ID="txtAvai" Text='<%#Eval("Count") %>' ReadOnly="true"></asp:TextBox></td>
<td><asp:TextBox runat="server" ID="txtConv" Text='' ReadOnly="true"></asp:TextBox></td>
</tr>
</ItemTemplate>
<FooterTemplate>
</table>
</FooterTemplate>
</asp:Repeater
Может кто-нибудь предложить любую идею по этому поводу, которая была бы мне очень благодарна?