Пример #1
0
        /// <summary>
        /// 是否存在帐号
        /// By xzz 2010-11-8
        /// </summary>
        /// <param name="userName"></param>
        /// <returns></returns>
        public string IsExistUser(string userName)
        {
            DataTable dt = userService.IsExistUser(userName);

            if (dt.Rows.Count > 0)
            {
                return("帐号已存在");
            }
            else
            {
                return("帐号可以使用");
            }
        }