E
Elliot
I use the following way to generate a table with a checkbox each row:
TableRow rowA;
for (int i = 1; i<=10 ; i++)
{
rowA = new TableRow();
cellA = new TableCell();
CheckBox CB = new CheckBox();
cellA.Controls.Add(CB);
row.Cells.Add(cellA);
rowA.Cells.Add(cellA);
}
How can I give those 10 checkboxs different value & how can I obtain them?
TableRow rowA;
for (int i = 1; i<=10 ; i++)
{
rowA = new TableRow();
cellA = new TableCell();
CheckBox CB = new CheckBox();
cellA.Controls.Add(CB);
row.Cells.Add(cellA);
rowA.Cells.Add(cellA);
}
How can I give those 10 checkboxs different value & how can I obtain them?