SectionReport 传designer设计器
本帖最后由 Lenka.Guo 于 2016-7-22 15:33 编辑DataDynamics.ActiveReports.ActiveReport3 rpt = new DataDynamics.ActiveReports.ActiveReport3();
System.IO.MemoryStream ms = new System.IO.MemoryStream( ( byte[] ) 数据库报表);
this.dgn.Report.LoadLayout(ms);
升级了10.0后
GrapeCity.ActiveReports.SectionReport rt = new GrapeCity.ActiveReports.SectionReport();
System.IO.MemoryStream ms = new System.IO.MemoryStream( ( byte[] )数据库报表);
rt.LoadLayout(ms);
this.designer....这里怎么转???把报表传给设计器
Hi~你的这个升级跟我的一个操作很像
this.designer.Report = rt; 其实你这样就可以的~简单粗暴!! 感谢感谢!! depand 发表于 2016-7-22 12:49
感谢感谢!!
如果需要,您可以参考这个帖子中的2#从数据库中存取报表:http://gcdn.gcpowertools.com.cn/forum.php?mod=viewthread&tid=22972
页:
[1]