Hi,
Can anyone help me? I want to change the datasource of a combobox on the fly so that I get different data. I have tried :
combobox1.datasource = dataview1
combobox1.displaymember = "col1"
and then
combobox1.datasource = dataview2
combobox1.displaymember = "col2"
but the combobox display doesn't change at all and looking in the watch window the properties don't change.
I'm probably missing something obvious? Any help appreciated.
Beeble
:-(
Can anyone help me? I want to change the datasource of a combobox on the fly so that I get different data. I have tried :
combobox1.datasource = dataview1
combobox1.displaymember = "col1"
and then
combobox1.datasource = dataview2
combobox1.displaymember = "col2"
but the combobox display doesn't change at all and looking in the watch window the properties don't change.
I'm probably missing something obvious? Any help appreciated.
Beeble
:-(