Hi
i have a crystal report with one data set as shown in the code below, i need to use another data set to become two data sets for the same report
the current code
ReportDocument rptDoc = new ReportDocument();
invoicedataset ds = new invoicedataset(); // .xsd file name
DataTable dt = new DataTable();
// Just set the name of data table
dt.TableName = "Crystal Report Example";
dt = getAllOrders(); //This function is located below this function
ds.Tables[0].Merge(dt, true, MissingSchemaAction.Ignore);
// Your .rpt file path will be below
rptDoc.Load(Server.MapPath("../CRM/CrystalReport1.rpt"));
//set dataset to the report viewer.
rptDoc.SetDataSource(ds);
CrystalReportViewer1.ReportSource = rptDoc;
pub ...
Go to the complete details ...