B
BillG
I have 3 combo boxes on a win form. I have set the DisplayMember,
ValueMember and DataSource correctly for all 3. When I go to retrieve the
SelectedValue of all 3, 2 of them show the value selected while the third
shows the object that is being stored in the combo box. If I examine the
values in the immediate window, I see the proper selected value for the 2
combo boxes while the selected value for the third box is all the object
properties. Has anyone ever seen this before? I have even tried deleting
and recreating the combo box. I have examined and reexaminded my code for
assigning the properties of the combo boxes and they are the same for all 3
combo boxes.
Bill
ValueMember and DataSource correctly for all 3. When I go to retrieve the
SelectedValue of all 3, 2 of them show the value selected while the third
shows the object that is being stored in the combo box. If I examine the
values in the immediate window, I see the proper selected value for the 2
combo boxes while the selected value for the third box is all the object
properties. Has anyone ever seen this before? I have even tried deleting
and recreating the combo box. I have examined and reexaminded my code for
assigning the properties of the combo boxes and they are the same for all 3
combo boxes.
Bill