我有数据表dt
,我将它绑定到水晶报告
CustomReport rpt = new CustomReport();
DataSet ds = new DataSet();
ds.Tables.Add(this.dt);
rpt.SetDataSource(ds);
我即使犯了The report has no tables
错误
create new dataset at runtime and add your DataTable to the dataset before calling SetDataSource method
任何指针都非常受欢迎