On my main form I have a combobox that is bound to data in an access.mdb.
The combobox displays a list of items in the database.
I use another form to add / edit the items displayed in the combobox on the main form.
After editing / adding an item, the combobox on the main form does not display the changes made. If I end debug and restart debug, then naturally the changes do appear but that's not a solution...
Main form load code
I added
It has no effect on the situation.
I searched for a solution and ran into all sorts of similar issues with datagridview refresh problems and all sorts of convoluted solutions, none of which seemed workable...
Advice needed...please
The combobox displays a list of items in the database.
I use another form to add / edit the items displayed in the combobox on the main form.
After editing / adding an item, the combobox on the main form does not display the changes made. If I end debug and restart debug, then naturally the changes do appear but that's not a solution...
Main form load code
VB.NET:
Me.OrificedataTableAdapter.Fill(Me.ProFlow1DataSet.orificedata)
I added
VB.NET:
Private Sub cboFlowRanges_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cboFlowRanges.SelectedIndexChanged
Me.OrificedataTableAdapter.getdata()
end sub
It has no effect on the situation.
I searched for a solution and ran into all sorts of similar issues with datagridview refresh problems and all sorts of convoluted solutions, none of which seemed workable...
Advice needed...please