By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,471 Members | 722 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,471 IT Pros & Developers. It's quick & easy.

Checklistbox data binding and values

P: n/a
Dear readers,

I've some problems with the data binding of the checklistbox control.
I'm using it with user preferences that are stored in a XML File.
Information from the file is fetched with SelectSingleNode and XPath.

The checklistbox list values and display texts are loaded from a
datatable. I've managed to do that with the DataSource, DisplayMember
and ValueMember. No problems with that.

Now I should save and display the items from the checklistbox that are
checked or saved to the XML file. How could I do that? I've understood
that a collection (SelectedItemsCollection) can't be directly binded so
that user's selections are automatically saved to the XML under a
certain node?

Any help is highly appreciated!

Ville
Nov 21 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.