Dhimesh Parmar

Dhimesh Parmar

  • NA
  • 126
  • 14.6k

I need help for bind html table using datatable?

Feb 26 2018 10:31 PM
Table code like : 
<%
if (dt != null && dt.rows.count>0)
{
foreach (var item in dt.rows)
{
%>
<tr>
<td>
<asp:LinkButton ID="LinlEdit" runat="server" Text="Edit"/>
&nbsp;|
<asp:LinkButton ID="LinkDelete" runat="server" Text="Delete"/>
</td>
<td>x</td>
<td>x</td>
<td>x</td>
<td>
<asp:LinkButton ID="LinkAction" runat="server" Text="Enable"/>
</td>
</tr>
<%
}
}
%>
 
 
 
 

Answers (3)