怎么样在一个页面里显示多个报表 而且不分页
R1201301 rptSonekiList = new R1201301(); rptSonekiList.SetDataSource( ds.Tables["authors_1"] ); Sections crSections = rptSonekiList.ReportDefinition.Sections ; for (int i =0 ; i < crSections.Count; i++) { ReportObjects objects = crSections[i].ReportObjects; for (int j=0; j < objects.Count; j++) { if ( objects[j].Kind == ReportObjectKind.SubreportObject ) { SubreportObject crSubreportObject = (SubreportObject) objects[j]; //open the subreport object ReportDocument crSubreportDocument = crSubreportObject.OpenSubreport(crSubreportObject.SubreportName); //set the database and tables objects to work with the subreport if (crSubreportObject.Name =="Subreport1") { crSubreportDocument.SetDataSource( ds.Tables[ "outKin" ] ); } //crDatabase.Tables } } } 我用这个循环邦定子报表,不知道你那个行不行
http://topic.csdn.net/t/20030923/16/2291453.html
http://blog.csdn.net/haibodotnet/category/13325.aspx?PageNumber=2
转载于:https://www.cnblogs.com/antony1029/archive/2009/01/11/1373811.html
相关资源:Crystal Reports 9.2 中文版(水晶报表)