Example #1
0
        public DataTablesResult(string sEcho, int iTotalRecords, int iTotalDisplayRecords, IEnumerable <object> aaData)
        {
            var dataTablesRespone = new DataTablesResponse();

            dataTablesRespone.sEcho                = sEcho;
            dataTablesRespone.iTotalRecords        = iTotalRecords;
            dataTablesRespone.iTotalDisplayRecords = iTotalDisplayRecords;
            dataTablesRespone.aaData               = aaData;

            Data = dataTablesRespone;
        }
        public DataTablesResult(string sEcho, int iTotalRecords, int iTotalDisplayRecords, IEnumerable<object> aaData)
        {
            var dataTablesRespone = new DataTablesResponse();

            dataTablesRespone.sEcho = sEcho;
            dataTablesRespone.iTotalRecords = iTotalRecords;
            dataTablesRespone.iTotalDisplayRecords = iTotalDisplayRecords;
            dataTablesRespone.aaData = aaData;

            Data = dataTablesRespone;
        }
 public DataTablesResult(DataTablesResponse response)
 {
     Data = response;
 }
Example #4
0
 public DataTablesResult(DataTablesResponse response)
 {
     Data = response;
 }