Hello everyone I have two Tables named Brand(Id,Name) and Product(Id,BrandId,Name), I want showing Product list in DataGridView(Id,Name,Brand), Brand Column should be ComboBox that refer to BrandId in Product Table and shows Name Of Brand from records in Brand table
How can do it
Brand Table
Product Table
DataGridView



You can see that column which is our
ComboBoxuse same binding system as normal combobox. For this purposle I used list of tuples to populate it, but you would normally load data from database for that part.Lets say you have Brand class like this:
You load data from database and create list of these objects:
Then you would change upper combobox column definition to: