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

            rpt.Site = this.Site;
            return(rpt);
        }
        public frmPurchaseReport(int purchaseid)
        {
            InitializeComponent();
            rtpPurchaseReport rpt = new rtpPurchaseReport();

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