Hello All, I am a problem with create behind code Table Asp net.
I have a Table Asp.net .
<script runat="server">
private void Page_Load(object sender, System.EventArgs e)
{
int rows = 3;
int cells = 2;
for (int j=0; j<rows; j++)
{
TableRow r = new TableRow();
for (int i=0; i<cells; i++)
{
CheckBox chk = new CheckBox();
chk.ID = "chk" + i.ToString();
TableCell c = new TableCell();
c.Controls.Add(new LiteralControl(chk));
r.Cells.Add(c);
}
Table1.Rows.Add(r);
}
}
</script>
<html>
<body>
<form runat="server">
<asp:Ta ...
Go to the complete details ...