Esempio n. 1
0
        }                                    // 小区名称
        protected Result validateCell()
        {
            object o;

            try
            {
                o = IbatisHelper.ExecuteScalar("SingleGetCellType", this.cellName);
            }
            catch (Exception e)
            {
                return(new Result(false, e.ToString()));
            }

            if (o == null)
            {
                return(new Result(false, "您输入的小区名称有误,请重新输入!"));
            }
            return(new Result(true));
        }