In Visual Studio 2005, how can I show a report in ReportViewer control directly on Print-preview mode?
Use the SetDisplayMode()
method:
MyReportViewer.SetDisplayMode(DisplayMode.PrintLayout);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With