ReportDocument reportDocument = new ReportDocument();
string filePath = crystal_path+reportnm;
reportDocument.Load(filePath);
reportDocument.RecordSelectionFormula="{SaleMaster.TranNo}='"+TranNo+"'";
this.CrystalReportViewer1.ReportSource = reportDocument;
ReportShow rpts = new ReportShow();
this.Show();
CrystalReportViewer1.Show();
我想一张一张打印钞票,但是第二张钞票提交却出错。