I'm working on a password login into my frmMainform. FrmLogin (Two txtboxes - 1) txtusername 2) txtpassword). There is a database that stores the username and password in a table. After the user enters the username and password, and click on cmdLogin, the system will run a sql code to search and if the info is correct, it'll open frmMainform, if not, it'll prompt "Incorrect Login". Please help with the code. Thanks.