/****************************** ** 作者: LiuGuanPing ** 变更时间: 2011-12-20 ******************************/ #region ###返回因子类型的所有信息 public string Select_Ftype(int start, int limit) { using (DALFtype b = new DALFtype()) { try { string JsonSource = JsonHelper.Jso_ToJSON(b.Select_Ftype(start, limit)); //当前页记录转成JSON格式 string strJsonSource = "{\"totalCount\":\"" + b.count + "\""; strJsonSource = strJsonSource + ",\"data\":" + JsonSource + "}"; //Grid的分页区显示所有记录数增加totalCount信息 return(strJsonSource); } catch (Exception e) { error = e.Message; return(String.Empty); } } }