Question : How to set the reportViewer  to Print Layout

I have ReportViewer docked in vb form ...and with a button click event i open this form ....How can i set my report to print Layout...(No Print Directly)

Answer : How to set the reportViewer  to Print Layout

You can use below code for the same.

Me.ReportViewer1.SetDisplayMode(DisplayMode.PrintLayout)
Random Solutions  
 
programming4us programming4us