コード例 #1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            rptPurchasePayment rpt = new rptPurchasePayment();

            rpt.Site = this.Site;
            return(rpt);
        }
コード例 #2
0
        public frmPurchasePaymentReport(int SupplierPaymentID)
        {
            InitializeComponent();
            rptPurchasePayment rpt = new rptPurchasePayment();

            rpt.SetParameterValue("@SupplierPaymentID", SupplierPaymentID);
            crv.ReportSource = rpt;
        }