D
Dominic Paquette
Hi,
I have a comboBox on a form. In the FormLoad event handler, I set the
DataSource, DisplayMember, and ValueMember properties. I noticed that when I
set the properties it causes something like 6 SelectedValueChanged events to
be fired. In the SelectedValueChangedEvent handler SelectedValue.ToString()
is equal to System.Data.DataViewManagerListItemTypeDescriptor
Anyone knows what this is, and if so if there is a way for them not to get
fired.
My problem is that I want to query the database whenever the user changes
the selection in the combobox and I can't do a query like this:
select * from employees where employeeID =
'System.Data.DataViewManagerListItemTypeDescriptor'
Well if anyone ran into this problem before please let me know
thanks in advance
dominic
I have a comboBox on a form. In the FormLoad event handler, I set the
DataSource, DisplayMember, and ValueMember properties. I noticed that when I
set the properties it causes something like 6 SelectedValueChanged events to
be fired. In the SelectedValueChangedEvent handler SelectedValue.ToString()
is equal to System.Data.DataViewManagerListItemTypeDescriptor
Anyone knows what this is, and if so if there is a way for them not to get
fired.
My problem is that I want to query the database whenever the user changes
the selection in the combobox and I can't do a query like this:
select * from employees where employeeID =
'System.Data.DataViewManagerListItemTypeDescriptor'
Well if anyone ran into this problem before please let me know
thanks in advance
dominic