映射报表到报表浏览器的代码添加在哪里
对照着入门教程(2)中一步一步做,其中有一段代码string file_name = @"..\..\RdlReport1.rdlx";
GrapeCity.ActiveReports.PageReport pageReport = new GrapeCity.ActiveReports.PageReport(new System.IO.FileInfo(file_name));
GrapeCity.ActiveReports.Document.PageDocument pageDocument = new GrapeCity.ActiveReports.Document.PageDocument(pageReport);
viewer1.LoadDocument(pageDocument);
这段代码应该添加在哪里? 您好,
双击 Form1, 生成 Form1_load 事件,在该事件中增加以上代码。 回复 2楼Lenka.Guo的帖子
好的,已经解决。谢谢 不客气,解决了就好~ 回复 10楼jian.du的帖子
为了给你提供更优质的服务,请对本次服务进行评分。我们会认真对待你提出的宝贵意见,谢谢
http://gcdn.gcpowertools.com.cn/attachment.aspx?attachmentid=10062
页:
[1]