Ejemplo n.º 1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            MonthyReport rpt = new MonthyReport();

            rpt.Site = this.Site;
            return(rpt);
        }
Ejemplo n.º 2
0
        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;
        }