【发布时间】:2015-05-11 02:37:59
【问题描述】:
我正在使用 DevXpress 14。 我只想使用一个包含 DocumentVier 的表单名称“FrmViewer”来加载我想要的任何报告。 这是代码,数据源不为空(已调试),但消息是“文档不包含页面”。我想我错过了 documentViewer 开始打印的一些方法
public FrmViewer(PhieuNhap pn)
{
InitializeComponent();
RptPhieuNhap rpt = new RptPhieuNhap();
rpt.DataSource = pn.ChiTietPhieuNhap;
rpt.nhacungcap.Value = pn.NhaCungCap.TenCC;
rpt.sophieu.Value = pn.SoPhieu;
documentViewer1.PrintingSystem = rpt.PrintingSystem;
}
【问题讨论】:
标签: winforms xtrareport