public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            monthlyReport rpt = new monthlyReport();

            rpt.Site = this.Site;
            return(rpt);
        }
示例#2
0
        private void report_Load(object sender, EventArgs e)
        {
            // TODO: This line of code loads data into the 'sunilGarageDataSet.job' table. You can move, or remove it, as needed.
            this.jobTableAdapter.Fill(this.sunilGarageDataSet.job);
            monthlyReport mr = new monthlyReport();

            mr.SetDataSource(this.sunilGarageDataSet);
            crystalReportViewer1.ReportSource = mr;
        }