public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { EventsReport rpt = new EventsReport(); rpt.Site = this.Site; return(rpt); }
private void EventsReportsForm_Load(object sender, EventArgs e) { // TODO: This line of code loads data into the 'sakiDataSet.Table' table. You can move, or remove it, as needed. this.tableTableAdapter.Fill(this.sakiDataSet.Table); // TODO: This line of code loads data into the 'sakiDataSet.Event' table. You can move, or remove it, as needed. this.eventTableAdapter.Fill(this.sakiDataSet.Event); EventsReport eventsReport = new EventsReport(); eventsReport.SetDataSource(this.sakiDataSet); EventsReportViewer.ReportSource = eventsReport; }