Updating database from datagridview in vb net
When you edit a row and move to another, if an exception is detected (duplicate key for example), a message is shown, the edit glyph is mantained in the edited row and cursor remain on the edited row.
What i would obtain is a "SQL Server Management Studio-style".
Enabled = False End Sub Private Sub delete_btn_Click(By Val sender As System.
Update(s Table) End If End Sub Private Sub save_btn_Click(By Val sender As System.
The two events below are enough Your code works perfectly (i.e i can update records on my datagrid to database).
MY OBSERVATION I'm designing a program where i can update and create user login details to a Database.