for what I've understood it seems like you want see if something changed or not so if this is it then this is what you should do:
first you have to create string that contains the "old" thing(like text) and the new string
Now put the information in one textbox from the database(I'm assuming you know how to do it, if i'm wrong then use this code:
Dim Str As String
Try
Str = "update tabel1 set ID="
Str += """" & TextBox1.Text & """"
Str += " where ID="
Str += TextBox1.Text.Trim()
provider.Open()
Cmd = New OleDbCommand(Str, provider)
Cmd.ExecuteNonQuery()
provider.Close()
Catch ex As Exception
End Try
)
public sub Form1
dim Str_Old As String
dim Str_Old As String
Then to use those is as easy as :
Private Sub Form1 (...) handles Form1.load
Str_Old = TextBox1.Text
Private sub Check_Changed
StrNew = TextBox1.Text
if Str_New <> Str_Old then
Else
End If
Now to call this is easy if you want this to act when a button is pressed then just put this into the button:
Check_Changed()
Now you are good to go
Disclaimer: I just explained everything step-by-step because you say you are a beginner.