public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { rptPurchasePayment rpt = new rptPurchasePayment(); rpt.Site = this.Site; return(rpt); }
public frmPurchasePaymentReport(int SupplierPaymentID) { InitializeComponent(); rptPurchasePayment rpt = new rptPurchasePayment(); rpt.SetParameterValue("@SupplierPaymentID", SupplierPaymentID); crv.ReportSource = rpt; }