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 SelectSingleNod e 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 (SelectedItemsC ollection) 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
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 SelectSingleNod e 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 (SelectedItemsC ollection) 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