G
Guest
Hi,
I have a combo box that I want to populate, based on the selection of
another combo box.
So when combo box A is selected, combo box B is populated with related values.
I have this all working fine, except for on the forms loading. I have
combobox B being populated after combobox A_SelectedIndexChanged event fires.
However, on the form load, when I try to retrieve the value from
"selectedvalue" , field, it is giving me "System.Data.DataRowView". that is
the field isnt populated.
I dont understand why there is no value if the selectedindex changed event
is firing?
Can someone advise how I should be handling this. Even when the combo box
isnt yet populated, the selected index is showing as zero?.
thanks
I have a combo box that I want to populate, based on the selection of
another combo box.
So when combo box A is selected, combo box B is populated with related values.
I have this all working fine, except for on the forms loading. I have
combobox B being populated after combobox A_SelectedIndexChanged event fires.
However, on the form load, when I try to retrieve the value from
"selectedvalue" , field, it is giving me "System.Data.DataRowView". that is
the field isnt populated.
I dont understand why there is no value if the selectedindex changed event
is firing?
Can someone advise how I should be handling this. Even when the combo box
isnt yet populated, the selected index is showing as zero?.
thanks