I have generated reports using microsoft report viewers in c#.

For making the report print in landscape view i used the code:

```
reportViewer1.PrinterSettings.DefaultPageSettings.Landscape = true;

```

This code i placed over `Form Load` Event as well as `reportviewer load` event as Follows :

```
private void BillPDF_Load(object sender, EventArgs e)
        {
            // TODO: This line of code loads data into the 'dsBillPDF.totalBill' table. You can move, or remove it, as needed.
            this.totalBillTableAdapter.Fill(this.dsBillPDF.totalBill,AllBill.fromDate);
            reportViewer1.PrinterSettings.DefaultPageSettings.Landscape = true;
            this.reportViewer1.RefreshReport();
        }

        private void reportViewer1_Load(object sender, EventArgs e)
        {
            reportViewer1.PrinterSettings.DefaultPageSettings.Landscape = true;
        }

```

Unfortunately, this code is not working.

Is usage of `reportViewer1.PrinterSettings.DefaultPageSettings.Landscape = true;` is wrong? or i have written it in wrong position.

Please help me.