Exemple #1
0
        public void Proc_OBJDel()
        {
            string obj_id = Request.Params["OBJECT_ID"];
            string id     = "";
            object _id    = Session["USERID"];

            if (_id != null)
            {
                id = _id.ToString();
            }

            clsObject obj = new clsObject();

            obj.load(obj_id);
            obj.delete(id);

            Response.Clear();
            string res = "{ 'RESULT' : 'true' }";

            Response.Write(res);
        }