SYTAX ERROR ON UPDATE STATEMENT, PLZ HELP, I CNT FIGURE IT OUT GUYZ
Private Sub SubmitButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SubmitButton.Click
Try
conn.Open()
mystring = "UPDATE ClientLogIn SET Password = '" & PasswordTextBox.Text & "' WHERE ClientID = '" & ClientIDTextBox.Text & "' AND Username = '" & UsernameTextBox.Text & "'"
Dim cmd As OleDbCommand = New OleDbCommand(mystring, conn)
cmd.ExecuteNonQuery()
MsgBox("Password updated successfully")
conn.Close()
Catch ex As Exception
MsgBox(ex.Message.ToString, , "Update Error")
End Try
End Sub