public byte[] GetExcel(Grid grid, string sheetName, string sidx, string sord, string filters) { Excel excel = new Excel(grid); System.Data.DataTable dt = excel.SQL.GetDataTable(sidx, sord, filters); return excel.GetFile(sheetName, sidx, sord, filters); }