HTML CODE
------------------
<table id="TBL" runat="server" style="width: 100%; border-collapse: collapse;" >
<tr>
<th>S No.</th>
<th>Name</th>
</tr>
</table>
Server Side Code
-----------------------
using System.Web.UI.HtmlControls;
<br />
HtmlTableRow Trow = new HtmlTableRow();
HtmlTableCell Tcell1 = new HtmlTableCell();
HtmlTableCell Tcell2 = new HtmlTableCell();
Tcell1.InnerHtml = "1";
Tcell2.InnerHtml ="Vindhya";
TBL.Rows.Add(Trow);