I have a datagridview linked to an Access database, and I want to prompt the user if they want to save the changes they make when they leave a row. I have it working fine, only I wish to prompt them only if there is a change to the data in the row they leave. Right now if the user is clicking the down arrow through the rows they are prompted each time they leave the row...not very good programming indeed!
Any help would be much appreciated.
Private Sub DataGridView1_RowLeave(ByVal sender As Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles DataGridView1.RowLeave
Response = MsgBox("Do you want to save changes?", MsgBoxStyle.YesNo, "Warning!")
If Response = vbYes Then