コード例 #1
0
        public void Del(HttpContext context)
        {
            String  jSonString = "";
            int IDExtendProperties = Convert.ToInt32(context.Request.QueryString["IDExtendProperties"]);

            ExtendPropertiesBO aExtendPropertiesBO = new ExtendPropertiesBO();
            int ret = aExtendPropertiesBO.Del_ByID(IDExtendProperties);

            if (ret > 0)
            { jSonString = "{\"status\": \"success\"}"; }

            if (ret <= 0)
            { jSonString = "{\"status\":\"error\" ,\"message\":\"" + ret.ToString() + "\"}"; }

            context.Response.Write(jSonString);
        }