Locking a Combo Box - Sync with DataGridView
I have a drop down style combo box that is filled with customer IDs. There is a second combo box that contains product information (product number - cboProdID). Below these I have a datagridview that gets populated 1 row at a time using an add button. The code behind the add button takes data associated with the product combo box which has been bound to a datatable and places these details in the datagridview. I need to lock the selected customer to an associated row in the dategrid, which equates to one order. So if I change customers in combo box (1) I get a corresponding row in the datagrid that was linked (syncronized) when added. Thank you.