예제 #1
0
        /// <summary>
        /// 获取分页的数据
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
        public String GetJQGridJson(JQGridModel model)
        {
            JQGridEntity Entity = model.ToEntity <JQGridModel, JQGridEntity>();

            return(_jQGridServer.GetJQGridJson(Entity));
        }
예제 #2
0
        /// <summary>
        /// 获取分页的数据表
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
        public DataTable GetJQGridDataTable(JQGridModel model)
        {
            JQGridEntity Entity = model.ToEntity <JQGridModel, JQGridEntity>();

            return(_jQGridServer.GetJQGridDataTable(Entity));
        }