I have a combobox, with a datasource set to a lookup table and DisplayMemeber set to a field in that table. I have the databinding text set to the table that I want to write to.
The problem is that when I insert a record, the combobox is empty, but doesn't seem to know it. The value for
combobox1.text != "", but instead returns the first value in the lookup table. If I click on the dropdown, but don't select a value, then the value is "".
Does anyone have any idea what is going on? I've tried using the SelectedItem and SelectedValue databinding properties as well, to no avail.
Brian
"There are 2 kinds of people in the world, those that divide people into two groups and those that don't. I belong to the second group." - tag line I stole
The problem is that when I insert a record, the combobox is empty, but doesn't seem to know it. The value for
combobox1.text != "", but instead returns the first value in the lookup table. If I click on the dropdown, but don't select a value, then the value is "".
Does anyone have any idea what is going on? I've tried using the SelectedItem and SelectedValue databinding properties as well, to no avail.
Brian
"There are 2 kinds of people in the world, those that divide people into two groups and those that don't. I belong to the second group." - tag line I stole