E
Ed Cohen
I have tried to use the DataGridComboBoxColumn object with limited success.
What I want to do is to create one new unbound column to be a combo box (so
far, this has worked), populate it with items from the database (this also
has worked). But, now I want to be able to have the user select one of the
items in that combo box and fire off an event to select more data from the
database based on what the user selected in the combo box.
Well, this DataGrid version of the combo box is very different from the
regular version. The big this is that I cannot figure out what event is fired
when the user selects a combo box item and how one gets to the selected value
in that combo box.. Normally one would go to the ComboBox.SelectedValue (or
is it SelectedIndex?) and there you go. There is not such property, and I
have not figured out which DataGridView event to use to make this happen. Can
anyone help? Thank you.
Ed Cohen
What I want to do is to create one new unbound column to be a combo box (so
far, this has worked), populate it with items from the database (this also
has worked). But, now I want to be able to have the user select one of the
items in that combo box and fire off an event to select more data from the
database based on what the user selected in the combo box.
Well, this DataGrid version of the combo box is very different from the
regular version. The big this is that I cannot figure out what event is fired
when the user selects a combo box item and how one gets to the selected value
in that combo box.. Normally one would go to the ComboBox.SelectedValue (or
is it SelectedIndex?) and there you go. There is not such property, and I
have not figured out which DataGridView event to use to make this happen. Can
anyone help? Thank you.
Ed Cohen