layui:
string strJson = "{\"code\": \"0\",\"msg\": \"\",\"count\":" + count + ",\"data\":" + JsonHelper.ToJson(dt2) + "}";
easyui:
string strJson = "{\"total\":" + count + ",\"rows\":" + JsonHelper.ToJson(dt2) + "}";
layui:
string strJson = "{\"code\": \"0\",\"msg\": \"\",\"count\":" + count + ",\"data\":" + JsonHelper.ToJson(dt2) + "}";
easyui:
string strJson = "{\"total\":" + count + ",\"rows\":" + JsonHelper.ToJson(dt2) + "}";
转载于:https://www.cnblogs.com/lacey/p/8175727.html