示例#1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            TacGia rpt = new TacGia();

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

            report.SetDataSource(TacGiaCtr.DanhSachTacGia());
            crystalReportViewer1.ReportSource = report;
        }