public virtual string JsonDataForjQgrid(int pageindex, int pagesize) { IPageable <T> page = this.GetPageable(pageindex, pagesize); int recordcount = this.Count(); return(JSONhelper.FormatJSONForJQgrid(page.PageCount, pageindex, recordcount, page.Rows)); }