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.