Advertisement

06.15.2008 at 02:19PM PDT, ID: 23486669
[x]
Attachment Details

ComboBox wont bind! Windows App

Asked by garethh86 in .NET, Windows Forms for .Net, Visual Studio 2008

Tags: VB.NET

Below code wont bind the control when I run the app, tried using the extender on the control to set up its binding source and that doesn't work either...any ideas?

I've set the below code to run when the form loads and also from a button click but doesn't do anything.

Thanks!Start Free Trial
1:
2:
3:
MyComboBox.DataSource = MyDataSet.Tables("Customers")
        MyComboBox.DisplayMember = "CompanyName"
        MyComboBox.ValueMember = "CompanyID"
[+][-]06.15.2008 at 02:32PM PDT, ID: 21789790

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.15.2008 at 02:44PM PDT, ID: 21789813

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.15.2008 at 03:18PM PDT, ID: 21789914

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: .NET, Windows Forms for .Net, Visual Studio 2008
Tags: VB.NET
Sign Up Now!
Solution Provided By: zveljkovic
Participating Experts: 1
Solution Grade: A
 
 
[+][-]06.15.2008 at 03:54PM PDT, ID: 21790011

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.15.2008 at 04:04PM PDT, ID: 21790040

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628