Exemple #1
0
        private void purchaseprint_Load(object sender, EventArgs e)
        {
            PurchaseVouchercr cr = new PurchaseVouchercr();

            cr.SetDataSource(ds);
            crystalReportViewer1.ReportSource = cr;
        }
Exemple #2
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            PurchaseVouchercr rpt = new PurchaseVouchercr();

            rpt.Site = this.Site;
            return(rpt);
        }