2009-02-16 41 views

回答

22

使用SetDisplayMode()方法:如果你撥打的ReportViewer的RenderingComplete事件SetDisplayMode方法可能會造成StackOverflowException

MyReportViewer.SetDisplayMode(DisplayMode.PrintLayout); 
0

在Windows窗體應用程序。調用該方法不是正確的地方。