May 25, 2011 05:06 PM|snowbboy|LINK
Env: VS 2008 / ASP.NET / Microsoft Report Viewer
Here is what I was doing.
1. Created dataset "A.xsd"
2. In the datase, created datatable named "B"
3. Created a report rdlc and designed two charts on it.
4 Behind code, dtA and dtB are table data for the table schema
ReportDataSource rdOne = new ReportDataSource
ReportDataSource rdTwo = new ReportDataSource
It works fine, but same data are displayed in those two charts. Obiviously, I think this is because of the ReportDataSource name.
Of course, I think I can create another duplicated same table schema of B and name it B2 in the dataset to use it as a data source like "A_B2"..
However, is there any way that I can provide different data but using exisiting table schema?
Just don't want to create bunch of duplicated same table schema with just differnt name...