Avatar of garyinmiami2003
garyinmiami2003
Flag for United States of America asked on

adding cobo box to datagridview

I populate a datagridview with the query:

Select Col1, Col2, Col3, Col4, Reason from tbla

I want to add a combox box where the reason is.  The value of the Reason is a code 3digits
Example "048"  I want to look up the description for that code and display the description in the cobo box.  If the were were updated, I want the code not the description.

The query to get the code Select DESC from Desc_tble wher Reason = '048'

My question is how to create and set the properties to do this?
Visual Basic.NET

Avatar of undefined
Last Comment
John (Yiannis) Toutountzoglou

8/22/2022 - Mon
GSix

ASKER CERTIFIED SOLUTION
John (Yiannis) Toutountzoglou

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
John (Yiannis) Toutountzoglou

Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy