I am trying to get a ComboBox to display newly add data from a table at run time. i have a comboBox on one form and a Textbox on another form.Both are bound to the same table.the TextBox inserts a new row of data to the table
and the ComboBox displays them , but only after i close the application and restart it.The only code in the load event that has effect on the comboBox is:
Me.TrackProfileTblTableAdapter.Fill(Me.CrossingDesingDataSet.TrackProfileTbl)
Every thing works exactly as i want it to but only if i restart the app.
How can i requery the CoboBox at run time to display the new data from the table?
and the ComboBox displays them , but only after i close the application and restart it.The only code in the load event that has effect on the comboBox is:
Me.TrackProfileTblTableAdapter.Fill(Me.CrossingDesingDataSet.TrackProfileTbl)
Every thing works exactly as i want it to but only if i restart the app.
How can i requery the CoboBox at run time to display the new data from the table?