Exemple #1
0
        private void DeleteMemo()
        {
            string result = "";
            string memoid = Utils.GetQueryStringValue("Id");

            if (!string.IsNullOrEmpty(memoid))
            {
                BIndividual bllBIndividual = new BIndividual();
                if (bllBIndividual.DelMemo(Utils.GetInt(memoid), SiteUserInfo.CompanyId))//删除方法
                {
                    result = UtilsCommons.AjaxReturnJson("true", "删除成功");
                }
                else
                {
                    result = UtilsCommons.AjaxReturnJson("false", "删除失败");
                }
            }
            else
            {
                result = UtilsCommons.AjaxReturnJson("false", "缺少参数");
            }
            Response.Clear();
            Response.Write(result);
            Response.End();
        }