E
Elliot M. Rodriguez
I am having difficulty loading and displaying data from an XML file into
a ComboBox Compact Framework control.
The XML file has 1 parent node and one child node, which contains the
data I want:
- node1
--- node2
------ dataitem1
------ dataitem2
--- /node2
I would like the ComboBox's DisplayMember property to be dataitem1, and
the ValueMember to be dataitem2.
The XML file is loaded from a dataset. The file is loaded correctly - I
can debug and see the number of rows in the dataset.
Given a dataset, what is the syntax for binding the DisplayMember and
ValueMember properties described above?
Thanks!
a ComboBox Compact Framework control.
The XML file has 1 parent node and one child node, which contains the
data I want:
- node1
--- node2
------ dataitem1
------ dataitem2
--- /node2
I would like the ComboBox's DisplayMember property to be dataitem1, and
the ValueMember to be dataitem2.
The XML file is loaded from a dataset. The file is loaded correctly - I
can debug and see the number of rows in the dataset.
Given a dataset, what is the syntax for binding the DisplayMember and
ValueMember properties described above?
Thanks!