I want update/edit data in database (MS Access) by using DataGridView in VB.net I used this code:
Dim sadapter As OleDb.OleDbDataAdapter Dim sd
If you table doesn't have a primary key, you need to set one.