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窗體應用程序。調用該方法不是正確的地方。