How can I use multiple Datatables on my CrystalReport?
Posted
by
Sergio Tapia
on Stack Overflow
See other posts from Stack Overflow
or by Sergio Tapia
Published on 2009-08-31T19:47:56Z
Indexed on
2010/12/22
22:54 UTC
Read the original article
Hit count: 280
I have a dataset that connects with three databases. How can I attach my Crystalreport viewer so all three are included?
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;
}
© Stack Overflow or respective owner