9
在Visual Studio 2005中,如何直接在Print-preview模式下在ReportViewer控件中显示报告?Howto强制Report Viewer以打印预览模式显示
在Visual Studio 2005中,如何直接在Print-preview模式下在ReportViewer控件中显示报告?Howto强制Report Viewer以打印预览模式显示
使用SetDisplayMode()
方法:如果你拨打的ReportViewer的RenderingComplete事件SetDisplayMode方法可能会造成StackOverflowException
MyReportViewer.SetDisplayMode(DisplayMode.PrintLayout);
在Windows窗体应用程序。调用该方法不是正确的地方。