In Visual Studio 2005, how can I show a report in ReportViewer control directly on Print-preview mode?
+7
A:
Use the SetDisplayMode()
method:
MyReportViewer.SetDisplayMode(DisplayMode.PrintLayout);
lc
2009-02-16 11:50:39