CheckListBox

  • Thread starter Thread starter John Hughes
  • Start date Start date
J

John Hughes

2 questions :

1. am using the checked list box to display my list but I with to have 2
columns, ID
and Name. I want the ID to be hidden and used in the SelectedIndexChanged
method to populate another ListBox utilizing the ID. I cannot see how to do
this with this
control?

2. Why when I call SetItemChecked does it not automatically call the method
SelectedValueChanged? Do I need to call this method manually and if so how?

Thanks.
 
re: 1
listbox.displaymember = "Name"
listbox.valuemember = "ID"
when selected, assign listbox.valuemember
 
Even stranger is that when i search the web for this property there appears
to be many people using it. Anyone got any idea what is going on?

Cheers.
 
Back
Top