G
Guest
hi,
How could I update a record in the database?..my sql statement is: dim sql="update tblusers set password='" & txtnewpassword.text & "' where username='" & txtusername.text & "' and Password='" & txtoldpassword.text &"'"
This a change password form with btnOK and btnCancel button, with textboxes txtusername,txtoldpassword,txtnewpassword,txtconfirmpassword. Pls. show me the simplest way. txtusername.text has username public variable that was passed by the login form.
How could I update a record in the database?..my sql statement is: dim sql="update tblusers set password='" & txtnewpassword.text & "' where username='" & txtusername.text & "' and Password='" & txtoldpassword.text &"'"
This a change password form with btnOK and btnCancel button, with textboxes txtusername,txtoldpassword,txtnewpassword,txtconfirmpassword. Pls. show me the simplest way. txtusername.text has username public variable that was passed by the login form.