From C# when calling SSRS report only main report shows data sub report giving error
问题 I developed an SSRS report having a main and 3 subreport. I am calling this report from C#. I only know how to bind the main rdlc with the data set. I use the code below for this SqlDataAdapter dataAdapter = new SqlDataAdapter(sqlcomm); dataAdapter.Fill(dataset); this.reportViewer1.LocalReport.ReportPath = Application.StartupPath + "\\sale_dept.rdl"; this.reportViewer1.LocalReport.DataSources.Clear(); this.reportViewer1.LocalReport.DataSources.Add(new Microsoft.Reporting.WinForms