public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            CrystalReport rpt = new CrystalReport();

            rpt.Site = this.Site;
            return(rpt);
        }
Beispiel #2
0
        public FrmHome()
        {
            InitializeComponent();
            Load();
            CrystalReport rpt = new CrystalReport();

            rpt.SetDataSource(ReceiveDAO.Instance.GetAllReceipt());
            crystalReportViewer.ReportSource = rpt;
        }