public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { keihihanyou rpt = new keihihanyou(); rpt.Site = this.Site; return(rpt); }
//yyyymmdd mmss CostNo StoreName RecordedDate PayPlanDate InputDateTime CostNo VendorCD VendorName Summary Char1 CostGaku TotalGaku void Loadreport() { var f = kbl.getPrintData(dce); // DataTable dt = null; Dataset.keihihanyou rep = new Dataset.keihihanyou(); rep.SetDataSource(f); // rep.SetParameterValue("txtPageNo",""); rep.SetParameterValue("txtStoreName", dce.Store); rep.SetParameterValue("txtDateTime", "2019/09/09 12:12"); rep.SetParameterValue("CostGaku", "999,999,999"); crystalReportViewer1.ReportSource = null; crystalReportViewer1.ReportSource = rep; }