public bool IsValid(string accountID, string password) { string pass = (password); DataTable temp = loginDAL.CheckAccount(accountID, password); return(temp.Rows.Count != 0); }