Beispiel #1
0
        public FileContentResult Export(string field, string query)
        {
            DataTable dataTable = equipmentBLL.Export(field, query);

            return(File(ExcelHelper.ExportToContent(dataTable, sheetTitle: "设备信息"), "application/ms-excel", "设备信息.xls"));
        }