Пример #1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            CrystalReport5 rpt = new CrystalReport5();

            rpt.Site = this.Site;
            return(rpt);
        }
Пример #2
0
        private void Form7_Load(object sender, EventArgs e)
        {
            OleDbDataAdapter adtr = new OleDbDataAdapter("Select * From Sefer", con);

            adtr.Fill(da);
            CrystalReport5 rapor = new CrystalReport5();

            rapor.SetDataSource(da);
            crystalReportViewer1.ReportSource = rapor;
        }