2009-02-16 88 views

回答

22

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

MyReportViewer.SetDisplayMode(DisplayMode.PrintLayout); 
0

在Windows窗体应用程序。调用该方法不是正确的地方。