I need to be able to modify checkboxes which made on dynamic table. do I need to change the code and declare them as global array? or is there easy way to check or uncheck each of them?
the way I make the checkboxes is:
for (cellCtr = 0; cellCtr <= MAX_COL_DEF; cellCtr++)
// create Checkboxes
if (cellCtr == 0)
TableRow cbRow = new TableRow();
// Create a new cell and add it to the row.
tCell = new TableCell();
CheckBox dbCheckBox = new CheckBox();
dbCheckBox.Visible = true;
I added decleration of the tcell to the behind code:
<asp:CheckBox ID="tCell" runat="server" Visible=true AutoPostBack=true />
Please write me detailed answer, I'm quite new to asp.net.