Vb net datagridview not updating assembly of god dating service
Update will save the changes in the Data Table to the database but those changes should already be reflected in the Combo Box because they're already in the Data Table. When you call Fill on a Data Adapter or Table Adapter you are populating a Data Table.
Logic seems to tell me that my call to refresh the data is happening before the adapter is filled, but of course i don't know at this point and hence this posting.... Even if you pass a Data Set as an argument, you are saving changes from one of the Data Tables in its Tables collection.You can either assign the Data Table to the Binding Source's Data Source property or else assign a Data Set to the Data Source and then the name of the Data Table to the Data Member. A Data Set is essentially an in-memory representation of a database.The Binding Source then gets assigned to the Combo Box's Data Source. A Data Table is basically an in-memory representation of a database table.For a Combo Box you would use, as you said, the Data Source, Display Member and Value Member.The Data Source is the list containing the data to bind.
if i look at the update to the combobox, they are not reflected until i exit and restart the app - then they're fine.