I hope this does not post twice. I got an error on the first attempt.
I have a combo box on a form with DropDownStyle = DropDownList
I have bound it as follows:
cmboOp.DataSource = opTable
cmboOp.DisplayMember = "OperatorName"
cmboOp.ValueMember = "OperatorID
The binding works fine. I put a test button on the form that does the
following:
cmboOp.SelectedIndex = -1
The first time I click the button, the combo box displays the first
item in the list. The second time it is blank.
I had expected it to be blank on the first time. So what is going on
or what have I done wrong?
TIA,
John