//Xac nhan Account bool LoginCheck() { DataTable dt = new DataTable(); dt = login.getAccount(GLOBAL.username, txtPassword.Text); if (dt.Rows.Count > 0) { return(true); } return(false); }