For ex: I am having "Datagridview", "Edit" and "Save" button on Win Form and table "Emp Details" at backend in databse.
I am filling "Datagridview" with table "Emp Details".
Hi all, Please help me in solving following query: I want to update table at backend in database throughmakeing changes in datagridview.
What I want is, when User makes changes in datagridview and clicks save or update button, the changes which are made in datagridview should get reflect in table in databse.
Data Member = "trial1" End Sub Private Sub Button1_Click(By Val sender As System. Odbc Command Builder(adp) Dim i As Integer Try i = adp.
In this short snippet, we will populate a Data Grid View using the Load Data() method.
This method uses the Sql Data Adapter to populate a Data Set.
Odbc Connection("Driver=; Server=localhost; Database=shreyas; User=root; Password=;") Dim cmd As Odbc. Odbc Data Adapter Dim ds As New Data Set Private Sub Form1_Form Closing(By Val sender As Object, By Val e As System.
Close() End Sub Private Sub Form1_Load(By Val sender As System.