Example #1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            FinancialAnalysisReport rpt = new FinancialAnalysisReport();

            rpt.Site = this.Site;
            return(rpt);
        }
        private void FinancialAnalysisForm_Load(object sender, EventArgs e)
        {
            // TODO: This line of code loads data into the 'sakiDataSet.Client' table. You can move, or remove it, as needed.
            this.clientTableAdapter.Fill(this.sakiDataSet.Client);
            // 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);
            // 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);

            FinancialAnalysisReport fa = new FinancialAnalysisReport();

            fa.SetDataSource(this.sakiDataSet);
            FinancialAReportViewer.ReportSource = fa;
        }