예제 #1
0
        public int CheckExhibitionHall(string domain, string loginName)
        {
            Tz888.BLL.Register.common objDomain = new Tz888.BLL.Register.common();
            int result = objDomain.CheckDomain(domain, loginName);

            if (result > 0)
            {
                return(0);//不可用
            }
            else
            {
                return(1);//可用
            }
        }
예제 #2
0
        public string CheckDomain(string domain, string loginName)
        {
            Tz888.BLL.Register.common objDomain = new Tz888.BLL.Register.common();
            int result = objDomain.CheckDomain(domain, loginName);


            if (result > 0)
            {
                return("域名己使用");
            }
            else
            {
                return("域名可用");
            }
        }