报表一共有5层,在钻取后,报表上的返加按钮只能返回一层,想做些连接,直接返回某一层,
但ReportViewer1.PerformBack()方法也只能返回一层,用多次感觉不是很好,
点连接返回时重新设置
ReportViewer1.LocalReport.DataSources.Clear();
ReportViewer1.LocalReport.ReportPath = @"Report\RegionRpt.rdlc";
ReportViewer1.LocalReport.DataSources.Add(new ReportDataSource("RegionModule", new Business.EmployeesBusins().GetRegionModList()));
ReportViewer1.DataBind();
后返回第一层后,报表上的返加按钮还在,再点就报错,而RortViewer1.LocalReport.IsDrillthroughReport属性是只读的有谁有好的建议,如何在钻取后返回?
另外再问下,rdlc报表钻取后 ,父报表的信息(路径、参数)保存在哪里的?