Ejemplo n.º 1
0
        /// <summary>
        /// Gets data based on parameters passed as(GridParams._HTTPContext )
        /// </summary>
        /// <returns>return json as a datatable response</returns>
        public string GetData()
        {
            GridFunctions oGrid = new GridFunctions(AjaxPostModel);

            return(oGrid.GetJson(this, AjaxPostModel));
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Gets datatable based on parameters passed as(GridParams._HTTPContext )
        /// </summary>
        /// <returns>return datatable as response</returns>
        public DataTable GetDataTable()
        {
            GridFunctions oGrid = new GridFunctions(AjaxPostModel);

            return(oGrid.GetDataTable(this));
        }
Ejemplo n.º 3
0
        /// <summary>
        /// Gets Griddata based on parameters passed as(GridParams._HTTPContext) and
        /// Exports excel of those data
        /// </summary>
        public void ExportData()
        {
            GridFunctions oGrid = new GridFunctions(AjaxPostModel);

            oGrid.Export(this);
        }