Exemple #1
0
 /// <summary>
 /// 驗證帳號密碼
 /// </summary>
 /// <param name="Account">帳號</param>
 /// <param name="Password">密碼</param>
 /// <returns>True 登入成功 False 登入失敗</returns>
 public bool CheckAccountWithPassword(string Account, string Password)
 {
     if (db.CheckAccountWithPassword(Account, Password).Rows.Count > 0)
     {
         return(true);
     }
     return(false);
 }