Vb net datagridview not updating
If it's set up that way then any changes you make to the Data Table will be reflected in the Combo Box. Just as a database contains tables and relations between them, so a Data Set contains Data Tables and Data Relations.
Now, reading your posts a bit more carefully, there's no reason that calling Update on a Table Adapter should cause the selection in the Combo Box to change. Machines) 'Returning From a dialog Dim Result As Dialog Result Result = dlg New Machine. A Data Set has a Tables property, which is a collection of Data Tables, and a Relations property, which is a collection of Data Relations.
You wouldn't use the Data Bindings property at all.That's for bind specific properties of the Combo Box to values from a list or an object.That is used more in situations like binding the Text property of a Text Box.A common scenario is binding a Data Table via the Data Source and setting the Display Member and Value Member to "Name" and "ID" respectively.That way the user sees a list of names they can choose and you can get the ID that corresponds to the selected name from the Selected Value property.