Advertisement

06.08.2007 at 09:35AM PDT, ID: 22622205
[x]
Attachment Details

VB.Net 2005 - Adding a ComboBox to a cell of a DataGridView???

Asked by BlakeMcKenna in Microsoft Visual Basic.Net, Visual Studio .NET 2005

Tags: combobox, datagridview, 2005

I have a DGV in which I wish to define one of the columns as a ComboBox. I know you can do this at design time, however, I wish to do it programatically. How is that done? Also, I wish to be able to bind the ComboBox to 2 columns of a Dataset (have the ComboBox show 2 values in the dropdown list) but only return 1 of the values when a user makes a selection. Is this possible? If not, how do I load the ComboBox manually?

Thanks,
BlakeStart Free Trial
[+][-]06.08.2007 at 10:02AM PDT, ID: 19243730

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.08.2007 at 11:20AM PDT, ID: 19244342

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.08.2007 at 11:32AM PDT, ID: 19244462

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.08.2007 at 11:53AM PDT, ID: 19244617

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.08.2007 at 12:15PM PDT, ID: 19244804

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.08.2007 at 12:23PM PDT, ID: 19244857

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.08.2007 at 12:32PM PDT, ID: 19244916

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.08.2007 at 01:03PM PDT, ID: 19245122

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.08.2007 at 01:17PM PDT, ID: 19245202

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.08.2007 at 01:26PM PDT, ID: 19245259

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.08.2007 at 01:36PM PDT, ID: 19245330

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: Microsoft Visual Basic.Net, Visual Studio .NET 2005
Tags: combobox, datagridview, 2005
Sign Up Now!
Solution Provided By: TheLearnedOne
Participating Experts: 1
Solution Grade: B
 
 
[+][-]06.08.2007 at 01:52PM PDT, ID: 19245444

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.08.2007 at 03:55PM PDT, ID: 19246292

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