DataGrid3.SetDataBinding(gTerminalTable, "")
'bind text boxes
txtPart.DataBindings.Add(New Binding("text", gTerminalTable, "tpart"))
txtTime.DataBindings.Add(New Binding("text", gTerminalTable, "ttime"))
'bind combobox
cboCell.DataBindings.Add(New Binding("text", gTerminalTable, "cell"))
cboCell.DataSource = gColorTable
cboCell.DisplayMember = "Cell"
cboCell.ValueMember = "Cell"
The last three lines might be over the scope of this problem, but I am limiting the contents of the combobox to items currently in another table.