private void EditPoint(string key, string radio, string pointType, string zbType, string point, string jz, string SQL, string cType, string ID, string desc) { bool judge = bll.EditPoint(key, ID, desc, pointType, SQL, point, jz, zbType, cType, radio, tableName); if (judge) { count = 1; } object obj = new { count = count }; string result = JsonConvert.SerializeObject(obj); Response.Write(result); Response.End(); }
private void EditPoint(string key, string x, string y) { bool judge = bll.EditPoint(key, x, y, tableName); if (judge) { count = 1; } object obj = new { count = count }; string result = JsonConvert.SerializeObject(obj); Response.Write(result); Response.End(); }