0
여러 행이있는 데이터 테이블이 있습니다. 이 데이터 테이블을 수정 보고서에 바인딩하고 싶습니다.데이터 테이블에서 크리스탈 보고서에 여러 행을 추가하는 방법
어떻게 가능합니까?
Dsprint.Tables.Clear();
Dsprint.Tables.Add(dtTitle);
Dsprint.Tables.Add(dtitem);
ReportDocument Rpt = new ReportDocument();
string filepath = Application.StartupPath.Replace("bin\\Debug", "") + @"\CrystalReports\CryDayReport.rpt";
Rpt.Load(filepath);
frmCrystalReportViewer newReportViewer = new frmCrystalReportViewer();
Rpt.SetDataSource(Dsprint);
Dsprint.WriteXmlSchema(Environment.CurrentDirectory + "\\DayReport.xsd");
newReportViewer.crViewer.ReportSource = Rpt;
newReportViewer.ShowDialog();