Exemplo n.º 1
0
        private void EditSunTable(string name1, string name2, string name3, string jz, string order, string unit, string remark1, string remark2, string id, string key)
        {
            bool judge = bll.EditsunTableInfo(tableName, name1, name2, name3, jz, order, unit, remark1, remark2, id, key);

            if (judge)
            {
                count = 1;
            }
            object obj = new
            {
                count = count
            };

            string result = JsonConvert.SerializeObject(obj);

            Response.Write(result);
            Response.End();
        }