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

            rpt.Site = this.Site;
            return(rpt);
        }
        private void frmMarksheetReportViewer_Load(object sender, EventArgs e)
        {
            var report = new rptMarksheet();

            report.SetDataSource(MarksheetReportList);

            crystalReportViewer1.ReportSource = report;
            crystalReportViewer1.RefreshReport();
        }