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