Hi.
Just handle the DataGridView_CellContentClick event:
And insert code as this:
Private Sub DataGridView1_CellContentClick(sender As Object, e As DataGridViewCellEventArgs) Handles DataGridView1.CellContentClick
If DataGridView1.Columns(e.ColumnIndex).Name = "Edit" Then
Dim cel As DataGridViewButtonCell
cel = CType(DataGridView1.Rows(e.RowIndex).Cells(e.ColumnIndex), DataGridViewButtonCell)
cel.Value = "Update"
End If
End Sub
I tested and it work