public void DellTable(string id) { bool judge = bll.Dell(id, tableName); if (judge) { count = 1; } object obj = new { count = count }; string result = JsonConvert.SerializeObject(obj); Response.Write(result); Response.End(); }