SectionReport怎么显示到viewer
之前一直用的是PageReport,报表样式用.rdlx直接绑定上去就可以了但是现在用的SectionReport,.cs的好像不能直接绑定,请问一下怎么把SectionReport显示到Viewer上面呢?
您如果使用的是WebViewer,参考代码:
MyInvoiceReport rpt = new MyInvoiceReport();WebViewer1.Report = rpt;
您如果使用的是Winform Viewer,参考代码:SectionReport1 sectionReport = new SectionReport1();viewer1.LoadDocument(sectionReport);
谢谢!已解决! w19950526 发表于 2016-12-12 11:12
谢谢!已解决!
:loap1:
页:
[1]