B
Bob
Hello:
I have a windows form with a combobox that gets data from one table and
stores the value in another. The database ia an SQL server DB.
The problem is when the form loads, the value in the combobox isn't the
correct value that is in the SelectedValue table.
When I use the me.BindingContext on a button object, it works fine as I page
through each record but when the form initialy loads, it displays the wrong
value. If I put a textbox on the form and bind it to the same field as the
SelectedValue for the combobox, the correct value is displayed in the
textbox.
Funny thing is this works fine if I do the samething using an Access DB
behind my form.
Anyone else ever see this?
TIA
Bob
I have a windows form with a combobox that gets data from one table and
stores the value in another. The database ia an SQL server DB.
The problem is when the form loads, the value in the combobox isn't the
correct value that is in the SelectedValue table.
When I use the me.BindingContext on a button object, it works fine as I page
through each record but when the form initialy loads, it displays the wrong
value. If I put a textbox on the form and bind it to the same field as the
SelectedValue for the combobox, the correct value is displayed in the
textbox.
Funny thing is this works fine if I do the samething using an Access DB
behind my form.
Anyone else ever see this?
TIA
Bob