private string Getppap() { Json jsonResult = new Json(); try { var list = ms.dtType(); jsonResult.Success = true; jsonResult.Msg = ""; jsonResult.Result = list; jsonResult.PageCount = 0; jsonResult.RowCount = list.Rows.Count; } catch (Exception ex) { jsonResult.Success = false; jsonResult.Msg = "获取用户分页列表异常:" + ex.Message; } string strJson = JsonConvert.SerializeObject(jsonResult); return(strJson); }