grape_puppet 发表于 2016-7-25 15:46:07

导出excel sheet页问题

本帖最后由 Lenka.Guo 于 2016-7-25 16:05 编辑

报表预览时有多页,导出excel时怎么放在一个sheet页

Lenka.Guo 发表于 2016-7-25 16:05:27

在导出Excel 时,将MultiSheet 属性设为False.

grape_puppet 发表于 2016-7-26 11:00:59

Lenka.Guo 发表于 2016-7-25 16:05
在导出Excel 时,将MultiSheet 属性设为False.

导出用的的博客上提供的导出按钮,没有找到这个属性的设置窗口。

Lenka.Guo 发表于 2016-7-26 11:39:03

grape_puppet 发表于 2016-7-26 11:00
导出用的的博客上提供的导出按钮,没有找到这个属性的设置窗口。

GrapeCity.ActiveReports.Export.Excel.Page.ExcelRenderingExtensionSettings excelSetting = new GrapeCity.ActiveReports.Export.Excel.Page.ExcelRenderingExtensionSettings();
excelSetting.FileFormat = GrapeCity.ActiveReports.Export.Excel.Page.FileFormat.Xls;
excelSetting.OpenXmlStandard = GrapeCity.ActiveReports.Export.Excel.Page.OpenXmlStandard.Transitional;
excelSetting.Pagination = true;
excelSetting.MultiSheet = true;

页: [1]
查看完整版本: 导出excel sheet页问题