Going nuts with this one. Been working on it for four days. Here is the scenario.
Add players button is clicked
Query database for list of players
Dynamically add rows to existing table with columns (checkbox, player name)
Allow user to select multiple players to register for event.
For Each dr In dsPlayers.Tables(0).Rows
'If counter < 2 Then
Dim trow As New TableRow
'Build checkbox
Dim chkBox As New CheckBox
chkBox.ID = "chkbox" & counter ' & counter.ToString 'dr("nPlayerId")
'chkBox.AutoPostBack = True
AddHandler chkBox.CheckedChanged, AddressOf Checked
Dim cellCheckBox As New TableCell
cellCheckBox.HorizontalAlign = HorizontalAlign.Center
cellCheckBox.Controls.Add(chkBox)
trow.C ...
Go to the complete details ...