在Visual Studio 2005中,如何在“打印预览”模式下直接在ReportViewer控件中显示报表?
最佳答案
使用SetDisplayMode()
方法:
MyReportViewer.SetDisplayMode(DisplayMode.PrintLayout);
关于visual-studio-2005 - 如何强制在打印预览模式下显示Report Viewer,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/552988/