jduclosjduclos
asked on
dynamic checkbox
I have an app that pulls an id number and description. This info pull from an sql server. I also want to add a checkbox per each ID, how would I do this.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Ok I have figured out what i needed to do for a dynamic checkedlistbox.
'This is used populate the checklistbox
Dim items As String
Dim r As Integer = 0
Dim c As Integer = 1
While r < xResourceT.GetData.Rows.Co unt
items = CStr(xResourceT.GetData.Ro ws(r).Item (c))
xCLBResource.Items.Add(ite ms)
r = r + 1
End While
'This is used populate the checklistbox
Dim items As String
Dim r As Integer = 0
Dim c As Integer = 1
While r < xResourceT.GetData.Rows.Co
items = CStr(xResourceT.GetData.Ro
xCLBResource.Items.Add(ite
r = r + 1
End While
ASKER