Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27333

[SOLVED] How to display bound column in ComboBox when form loads in vb 2010 Express

$
0
0
I am new to VB 2010.
I have set the properties of the combobox as below:

I have a ComboBox whose Display Source is set to "Managers Binding Source" and Display Member is set to "Manager Name".
Under DataBindings I have the Text property set to "Salesperson Binding Source - SalespersonManager".

When I select a manager name in the comboBox the Salesperson database is updated with the newly selected Manager Name just fine.

My problem is, when the form loads the next time, the ComboBox shows the first Manager in the Display Member list INSTEAD OF THE MANAGER THAT THIS COMBOBOX IS BOUND TO.

How do I get the bound column to display in the combobox instead of the first member of the Display Mamber list??

Viewing all articles
Browse latest Browse all 27333

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>