1
我有一个连接三个数据库的数据集。我如何将我的CrystalReport查看器连接到三个都包含在内?如何在CrystalReport上使用多个Datatables?
protected void Page_Load(object sender, EventArgs e)
{
ReportDocument X = new ReportDocument();
DataTable DTable = new DataTable();
DataSet1TableAdapters.TableAdapterManager ????? = new WebApplication1.DataSet1TableAdapters.TableAdapterManager();
DTable = ????????
string ubicacion = Server.MapPath("crystalReport1.rpt");
X.Load(ubicacion);
X.SetDataSource(DTable);
CrystalReportViewer1.ReportSource = X;
}
啊,欢迎来到Crystal Reports的痛苦! – Skizz 2009-08-31 19:52:50
我不明白在SSRS中会有怎样的痛苦,处理多个数据库 – 2009-08-31 23:50:37
我不知道如果我是对的,但子报告可以帮助你在水晶报告中 – Kalpak 2009-09-08 15:24:16