Binding checked items to a datatable?

  • Thread starter Thread starter Carl Mercier
  • Start date Start date
C

Carl Mercier

Hi!

My CheckedListBox has its datasource set to a datatable called "OptionList".
My dataset has another table called "CheckedOptions" which contains a few
rows, including a row called "OptionID". In short, this last datatable is
the list of the items that should be checked in my CheckedListBox.

Is there an easy way to bind the CheckedItems of the CheckedListBox to
"CheckedOptions"? .CheckedItems is read-only.

There must be an easy way... I can't believe I have to loop through the
table and set all the checks manually.

Thank you!

Carl
 
Back
Top