Solved

I need help adding a combo box to a datagridview control in VB.net

Posted on 2016-10-18
2
56 Views
Last Modified: 2016-10-19
Hi,
I have a VB.Net application with a DataGridView control.
The Data Source for my DataGridView is tblProviderLanguage.

I want to do the following:
1. Add a combo box to my DataGridView control that will display the LanguageDesc field from the tblLkLanguage table.
NOTE: Tables tblProviderLanguage is linked to tblLkLanguage via the LkLanguageID field in both tables.
2. I want to hide the LkLanguageID field in the DataGridView control
3. When the form loads the DataGridView should display the LanguageDesc values bound from the tblProviderLanguage table (based on the LkLanguaeID field).  
   When the user selects a different value from the combo box.  That value should update table tblProvideLanguage via the LkLanguaID field.

I hope the above makes sense.
I have included an image below to hopefully make things a bit clearer.
Data Grid View image with language fields
Thank you very much in advance for your help.

mrotor
0
Comment
Question by:mainrotor
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 41848567
0
 
LVL 70

Accepted Solution

by:
Éric Moreau earned 500 total points
ID: 41848573
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question