minakshi

minakshi

  • NA
  • 55
  • 0

Empty Crystal report

May 7 2010 6:02 AM
Hello,

In my current project I am using crystal report for displaying the data. I have used following code for the stated task.

            this.Height = Screen.PrimaryScreen.Bounds.Height;
            this.Width = Screen.PrimaryScreen.Bounds.Width;
            this.Top = 0;
            this.Left = 0;
            crystalReportViewer1.Height = this.Height - 60;
            crystalReportViewer1.Width = this.Width - 5;
            crystalReportViewer1.Top = 10;
            crystalReportViewer1.Left = 0;
          TourCrystalReport tcr = new TourCrystalReport();
                tcr.SetDataSource(_ds);
                crystalReportViewer1.ReportSource = tcr;

But unable to get the data displayed in crystal report. Can anyone help me with this.

Thanks,
Minakshi.

Answers (1)