Hi,
I have a form with gridview data with database data. With query I run INSERT INTO from one table into another, with button.
I would like when I run procedure, also reset/update/refresh gridview with new import data??!!

For info, I have try with some methods, such as me. gridview.refresh() or update(), but nothing. Maybe I have also using this methods wrong.

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        Dim TEST = New WindowsApplication1.IdisDataSetTableAdapters.QueriesTableAdapter
        TEST.InsertQuery()
        
    End Sub

Thank you in advance for help to anyone!

Edited 5 Years Ago by __avd: Added [code] tags.

Found solution. I have call again Fill... :-)

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim TEST = New WindowsApplication1.IdisDataSetTableAdapters.Queri esTableAdapter
TEST.InsertQuery()
Me.IdisTableAdapter.Fill(Me.IdisDataSet.Idis)
End Sub

Edited 5 Years Ago by __avd: Added [code] tags.

This question has already been answered. Start a new discussion instead.