The combobox column supports this. Just set the DisplayMember and ValueMember. Here are some steps:
1) In VS created a new winforms app
2) Added a new datasource to your database
3) Select your products table and your "Lookup" table in the datasource wizard.
4) After the wizard is done, drag and drop the products table in the DataSources window to your form to create the initial DataGridView and binding sources
5) Next right clicked the DGV and goto Edit columns dialog
6) Find the "lookup id" column and goto the Column Type property. Change that to be of type ComboBoxColumn.
7) Next, still for the same column, goto the DataSource property and select the "Lookup" table.
8) Next set the column's DisplayMember property to the database column that has the string names.
9) And then set the column's ValueMember property to the database column that has the ids
10) Compiled and run
-mark
DataGridView Program Manager
Microsoft
This post is provided “as-is�o:p>