I am showing 2 sub reports on a reports, one sub reports is showing fine but when i try to shown second report , it is showing below message
Error
Data retrieval failed for the subreport,
'Subreport2', located at: .
code:
string reportPath=e.ReportPath;
SocialWorkDataset socialWorkDataset = new SocialWorkDataset();
if (reportPath == "GoalObjective")
{
// e.DataSources.Add(new ReportDataSource("SocialWorkISPSpiritualGoalObjectives", "DataSet1"));
SocialWorkDatasetTableAdapters.SocialWorkISPSpiritualGoalObjectivesTableAdapter socialWorkISPSpiritualGoalObjectivesTableAdapter = new SocialWorkDatasetTableAdapters.SocialWorkISPSpiritualGoalObjectivesTableAdapter();
socialWorkISPSpiritualGoalObjectivesTableAdapter.ClearBeforeFill = true;
...
Go to the complete details ...