Exemplo n.º 1
0
        private void AddServer()
        {
            DB.Cloud cloud   = new DB.Cloud();
            int      nResult = cloud.m_tbServers_Add(MemberNum, CompanyNum, strDisplayName, strDisplayGroup, strServerType, strLanguage);

            if (nResult == 1)
            {
                Response.Write(callback + "({\"error\":1, \"desc\":\"서버 등록 성공\"})");
            }
            else
            {
                Response.Write(callback + "({\"error\":2, \"desc\":\"서버 등록 실패\"})");
            }
        }