一份 pdf 中包含两份 RDLC 报告

发布于 2024-10-08 19:47:11 字数 228 浏览 0 评论 0原文

我正在使用 .net 4.0 和 RDLC 报告将一些报告导出为 pdf。这些报告是独立的,并以单独的 pdf 形式呈现,但在某些情况下,我希望在一个 pdf 中将两个或多个 RDLC 报告呈现为单独的页面。

有办法实现这一点吗?我已经尝试连接返回的字节数组,

Report.Render("PDF")

但这不起作用(可能是标题)。

提前致谢

I am using .net 4.0 and RDLC reports to export some reports to pdf. The reports are self standing and are rendered in separate pdfs but in some scenarios I would like to render two or more RDLC reports in one pdf as separate pages.

Is there a way to achieve this? I already tried concatenating the byte arrays returned from

Report.Render("PDF")

but this doesn't work (headers perhaps).

Thanks in advance

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

此刻的回忆 2024-10-15 19:47:11

查看iTextSharp。它能够动态合并文档

Check out iTextSharp. It has the ability to merge documents on the fly

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文