Exemple #1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            crPurchaseOrder rpt = new crPurchaseOrder();

            rpt.Site = this.Site;
            return(rpt);
        }
Exemple #2
0
        private void LoadReport()
        {
            crPurchaseOrder crPurchaseOrder = new crPurchaseOrder();



            crPurchaseOrder.Database.Tables["dtPurchaseorderdetails_view"].SetDataSource(purchaseOrderDetailBL.List(purchaseOrderEL.Purchaseorderid));
            crPurchaseOrder.Database.Tables["dtStoreinformation_view"].SetDataSource(storeInformationBL.List());

            crvPurchaseOrder.ReportSource = null;
            crvPurchaseOrder.ReportSource = crPurchaseOrder;
            crvPurchaseOrder.Refresh();
        }