CheckedListBox

  • Thread starter Thread starter JJump
  • Start date Start date
J

JJump

lbDeletePeople.DataSource = ds.Tables(0)
lbDeletePeople.DisplayMember = "Name"
lbDeletePeople.ValueMember = "GeneralTrialInfoID"

So the Name that I got from my dataset comes in fine. I have no clue
what ValueMember gets.. but that is a field in the dataset. How do I
know that is what is going in there? And how in the world do I pull
out that ID?????
 
For Each itemChecked In lbDeletePeople.CheckedItems
DeletePerson(lbDeletePeople.SelectedValue)
Next

the deleteperson command gives me the same value every time (the first
item in the list checked). How do I make it give me the value of the
NEXT item in the list???
 
Back
Top