Good day. Can you please tell me how to reload the database to apply the changes? Suppose I entered some data into the database. But they do not immediately appear on other forms. For this, I created a button for updating the database, with the code (4it is the name of the database):
Me._4itDataSet.Reset()
But this helped only partially - as some tables do not reload. Then added some more code:
Me._4itDataSet.Reset() Me.Виды_работTableAdapter.Fill(Me._4itDataSet.Виды_работ) Me.ДоговорTableAdapter.Fill(Me._4itDataSet.Договор) Me.ИсполнительTableAdapter.Fill(Me._4itDataSet.Исполнитель) Me.ПользователиTableAdapter.Fill(Me._4itDataSet.Пользователи) Me.Физические_лицаTableAdapter.Fill(Me._4itDataSet.Физические_лица)
It still did not help ... So the question is how to reload the database?
Thanks in advance for the answer