P
Peter
OK, so in addition to the problem I mentioned before (c.f. "Data Binding to
Textbox"), I realized that my comboboxes are not really bound to the
internal data set. They are just set to manually change to reflect whatever
the selected row's foreign keys are.
So the question is, how can I bind the SelectedItem of a combobox, which is
filled with DataRowView objects from its bound table, to a field in
whichever row of a dataset happens to be selected in a Listbox, also full of
bound DataRowView objects?
That's a lotta words. Does it make sense? I basically want the same
combobox, populated with all possible parent table values, to be able to
edit a foreign key field in whatever row of a table (from a strongly typed
dataset) happens to be selected in a listview.
And I don't want to use a datagrid control because there is no
DataColumnComboBox control in VS 2002.
Textbox"), I realized that my comboboxes are not really bound to the
internal data set. They are just set to manually change to reflect whatever
the selected row's foreign keys are.
So the question is, how can I bind the SelectedItem of a combobox, which is
filled with DataRowView objects from its bound table, to a field in
whichever row of a dataset happens to be selected in a Listbox, also full of
bound DataRowView objects?
That's a lotta words. Does it make sense? I basically want the same
combobox, populated with all possible parent table values, to be able to
edit a foreign key field in whatever row of a table (from a strongly typed
dataset) happens to be selected in a listview.
And I don't want to use a datagrid control because there is no
DataColumnComboBox control in VS 2002.