troubleshooting Question

combo box data binding ?

Avatar of MBHEY131
MBHEY131 asked on
Visual Basic Classic.NET Programming
1 Comment1 Solution184 ViewsLast Modified:
Hello Again,

vb.net vs.2012

Here is a little routine that works on fine on the form load But when I recall An ID code from a database and set the selected value I cannot seem to get the BindingSource to update the label right next door on the form the bring up the corresponding Name???

       sform.AdvisorsBindingSource1.DataSource = sform.Database1DataSet11.Advisors
        sform.cboADV_No.DataSource = sform.AdvisorsBindingSource1
        sform.cboADV_No.DisplayMember = "Advisor_ID"
        sform.cboADV_No.ValueMember = "Advisor_ID"
        sform.cboADV_No.SelectedValue = strAdv_Num

by refreshing the bindings I am under the believe that those Bindings should reflect the corresponding objects??
ASKER CERTIFIED SOLUTION
Ess Kay
Entrapenuer

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 1 Comment.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 1 Comment.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros