WPF 应用程序的报告选项?
我想将一些高级报告集成到我的 WPF 应用程序中。 本质上,用户将输入一些参数,按下“执行”按钮,然后就会看到他们的报告。
报告将由一些文本、一些表格和一些图表组成。
我的 WPF 应用程序可以使用哪些技术、工具和库?
I'd like to integrate some high-level reports into my WPF application. Essentially, the user will enter some parameters, press a "Go" button, and will be presented with their report.
A report will consist of some text, some tables and some charts.
What technologies, tools and libraries are available to my WPF application?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
我见过一位同事使用 Active Reports(任何报告生成器都会这样做),生成报告,导出到图像(1 页 = 1 个图像),然后将各个图像加载到 FlowDocument 中。 然后,您将拥有内置的来回功能、缩放功能以及 FlowDocument 提供的所有优点。
我知道这个解决方法,但这个解决方案有 2 个好处:1) 您不依赖于任何特定的报表生成器,2) 您不需要使用 WindowsFormsHost,因为您不能在部分信任的情况下使用 WindowsFormsHost。
I've seen a colleague use Active Reports (and any report builder would do it), generate the report, export to image (1 page = 1 image), and load the individual images in a FlowDocument. Then you'd have built-in functionality to go back and forth, zooming, and all the goodness the FlowDocument provides.
I know this work-aroundish but this solution has 2 benefits: 1) you're not tied to any particular report builder and 2) you don't need to use the WindowsFormsHost, which you can't use in partial-trust scenarios.
Visual Studio(Pro 或更高版本)中开箱即用的两个选项:
水晶报表
或者
SQL Server 报表 (SSRS)
在 WPF 中,您可以在 Windows 窗体主机控件内托管 Crystal 报表查看器或 SSRS 查看器。
Two options that are out of the box in visual studio (Pro or higher):
Crystal Reports
OR
SQL Server Reports (SSRS)
In WPF you can host the crystal report viewer or the SSRS viewer inside the windows forms host control.
您可能想查看 Active Reports。您可以浏览此博客以获取更多信息
http://blogs.gcpowertools.co.in/2011/11/how-to-view-report-created-using-active.html
You may want to have a look at Active Reports.You can go through this blog for more information
http://blogs.gcpowertools.co.in/2011/11/how-to-view-report-created-using-active.html
查看基础设施。 他们的 WPF NetAdvantage 库中有完整的 wpf 报告解决方案。
Take a look to infragistics. They have a complete wpf reporting solution into their WPF NetAdvantage library.
我知道的最佳选择是 MS Word:
在这种情况下,用户可以使用您为特定报告提供的所有数据或部分数据,并在他想要的地方使用基于 MS Word 功能的任何报告设计。
The best option I know is MS Word:
In that case user can build use all data o part of the data you are providing for the certain report and in places he wants as well as use can use any design of report is based on MS Word functionality.