public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { MonthyReport rpt = new MonthyReport(); rpt.Site = this.Site; return(rpt); }
private void MonthlyReportForm_Load(object sender, EventArgs e) { // TODO: This line of code loads data into the 'pressWizDataSet.Report' table. You can move, or remove it, as needed. this.reportTableAdapter.Fill(this.pressWizDataSet.Report); MonthyReport monthlyReport = new MonthyReport(); monthlyReport.SetDataSource(this.pressWizDataSet); MonthlyReportViewer.ReportSource = monthlyReport; }