Binding checked items to a datatable?

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top