I want to add checkbox in table heads dynamically,I have created their ids dynamically but how to print it on Aspx Page ???
<table border="1">
<thead>
<%string j = " Check"; %>
<%for (int i = 0; i < 10;i++ )
{%>
<th style="padding:2px; width:500px;">Table Head<br /><br />
<%
CheckBox chk = new CheckBox();
chk.ID = i + j;
chk.Text = "I am "+ i+j;
%>
<%=chk %>
</th>
<%} %>
</thead>
</table>