G
Guest
I'm trying to determine of the checkbox is checked within my datalist and i
keep getting false returned if its checked or not.
public sub btnDetails_Click()
Dim i As Integer
Dim cars As DataListItem
Dim cSelection As CheckBox
For Each carsIn dlCars.Items
cSelection = dlCars.Items(i).FindControl("chkCars")
Response.Write(cSelection.Checked.ToString & ",")
Next
end sub
it keeps returning false
keep getting false returned if its checked or not.
public sub btnDetails_Click()
Dim i As Integer
Dim cars As DataListItem
Dim cSelection As CheckBox
For Each carsIn dlCars.Items
cSelection = dlCars.Items(i).FindControl("chkCars")
Response.Write(cSelection.Checked.ToString & ",")
Next
end sub
it keeps returning false