/// <summary> /// 判断第一行第一例的值确实True 或Flase /// </summary> /// <param name="paramUserName"></param> /// <returns></returns> public bool CheckUser(string paramUserName) { bool IsCheckUser = false; string RetuenValue = myDALogin.GetUserInfo(paramUserName); if (RetuenValue.Length > 0) { IsCheckUser = true;//说明用户存在 } return(IsCheckUser); }