How can I use multiple Datatables on my CrystalReport?
- by Sergio Tapia
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;
}