retrieving value from dynamic checkbox
Hi
I am creating a tool in asp.net, I have a problem retrieving value of a dynamically created checkbox in a table.
I have added checkboxes dynamically to table, now when I select that check box I want that particular row to be cleared
Can any one guide me with the steps I need to take in accomplishing this.
// to add the checkbox
While i <= Val(txtCounter2.Text)
Dim cb(i) As CheckBox
cb(i) = New CheckBox
cb(i).ID = "check" & i
tblSelections.Rows(i).Cells(3).Controls.Add(cb(i))
i = i + 1
End While
//txtCounter2.Text is the counter where i store the counter value
now when i check one of the cehckbox i need to clear the row
Kindly help
|