![](/img/trans.png)
[英]Showing 8 columns together in a cell of a table in Microsoft Report Viewer
[英]Microsoft Report Viewer Showing hidden columns on exporting to excel
我在4.0框架上的ASP.Net应用程序中使用Microsoft Report Viewer。 我的报告在网页内显示良好,但最近被要求隐藏几列。 我发现通过右键单击.RLDC文件中的列来编辑“列可见性”可以使我将其隐藏,但是我需要能够在导出到Excel时显示隐藏的列。 据我所知,Microsoft Report Viewer完全将它显示的内容导出到Excel。
有谁知道如何在Microsoft Report Viewer 2010上导出为excel click事件时访问或更改列属性?
最好的选择是添加自己的导出功能。
在ReportViewer中设置ShowExportButton="False"
,然后在页面中添加一个新按钮以隐藏列,然后将报告导出到excel。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.