Exemplo n.º 1
0
        public void DoYes()
        {
            Hashtable hs = new Hashtable();

            hs.Add("configid", txtConfigId.Text);
            hs.Add("systemid", "00");
            try
            {
                if (settingManager.DeleteConfigInfo(hs) > 0)
                {
                    Notice(GetLangStr("SystemConfig20", "信息提示"), GetLangStr("SystemConfig21", "删除成功"));

                    logManager.InsertLogRunning(uName, GetLangStr("SystemConfig22", "删除配置名称:[") + txtConfigName.Text + "]", nowIp, "3");
                    GetSysContents("00");
                }
            }
            catch (Exception ex)
            {
                ILog.WriteErrorLog(ex);
                logManager.InsertLogError("SystemConfig.aspx-DoYes", ex.Message + ";" + ex.StackTrace, "DoYes has an exception");
            }
        }