Hi,
I'm having a problem with an access database that I've connected to a datagridview.
When I made the connection to the database for the first time, all records from the table in my database were shown in the datagridview, just like I expected.
But when I add new records in the same table, save the database and restart my VB program, the newly added records are not shown in the datagridview.
What do I have to do to force VB to "reload" the database table records into the gridview?
I'm having a problem with an access database that I've connected to a datagridview.
When I made the connection to the database for the first time, all records from the table in my database were shown in the datagridview, just like I expected.
But when I add new records in the same table, save the database and restart my VB program, the newly added records are not shown in the datagridview.
What do I have to do to force VB to "reload" the database table records into the gridview?
Code:
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Me.TabelWCMBTableAdapter.Fill(Me.EMDataSet.TabelWCMB)
End Sub