Mujeeb Rahman

Mujeeb Rahman

  • 1.1k
  • 604
  • 4.5k

Rowspan in repeater using asp.net C#

Oct 13 2016 6:20 AM
<asp:Repeater ID="Customers" runat="server" OnItemDataBound="Customers_ItemDataBound">
<HeaderTemplate>
<table id="tblSample">
<thead>
<tr>
<th scope="col" style="width: 10px">POS
</th>
<th scope="col" style="width: 120px">DEVICE
</th>
</tr>
</thead>
</HeaderTemplate>
<ItemTemplate>
<tbody>
<tr>
<td >
<asp:Label ID="lblCustomerId" runat="server" Text='<%# Eval("cabinet_height") %>' />
</td>
<td rowspan="<%# Eval("rowspan") %>">
<asp:Label ID="lblContactName" runat="server" Text='<%# Eval("devicename") %>' />
</td>
</tr>
</tbody>
</ItemTemplate>
<FooterTemplate>
</table>
</FooterTemplate>
</asp:Repeater>
 
Please help me... 

Answers (3)