public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { crGoodsReceiptNote rpt = new crGoodsReceiptNote(); rpt.Site = this.Site; return(rpt); }
private void frmGoodsReceiptNote_Load(object sender, EventArgs e) { crGoodsReceiptNote goodsReceiptNote = new crGoodsReceiptNote(); goodsReceiptNote.SetParameterValue("Date", date); goodsReceiptNote.SetParameterValue("totalAmount", totalAmount); crystalReportViewer.ReportSource = goodsReceiptNote; }