Winforms 应用程序的报告生成器选项?
我正在为我的 .NET winforms 应用程序选择一个报告生成器,它让我发疯。我对报告生成器一点也不熟悉,所以……
有谁知道报告生成器:
1.- 相对于主应用程序很容易部署
a. (最少,最少,最不合意) 有一个单独的可编写脚本/静默安装程序 (我可以让应用程序安装程序调用 报告生成器安装程序)
b. (我可以忍受这个) “可集成”安装程序(集成的 应用程序和应用程序的安装程序 可以轻松制作报告生成器)
c. (最理想)Clickonce/xcopy 可以安装(没有安装程序 全部!!!耶!!!)。
2.- 在某种程度上可以编写脚本:
a. (我可以忍受这个)是吗 可以改变某些属性 (图像来源、颜色、可见性、 宽度等)在运行时?
b. (最多 理想的)是否可能 - 另外 到上一项 - 添加/删除 运行时将元素添加到报告中?
3.- 调整页面大小时自动调整:
a. (最不理想的)你必须 手动动态调整大小 访问报告结构 (与2a相关)
b. (最理想的)报告及其 元素自动调整到 可用的画布/纸张尺寸(如 HTML 页数,使用百分比)
4.- 报告中各个元素的大小根据内部显示的内容增大/缩小(元素可以是网格的列):
a. (最不理想)仅元素 垂直生长以容纳更大的 内容(无剪辑)。
b.元素的大小可以是 自我调整内容(就像
元素)。网格中的列 示例应该根据 内容(如 HTML 中) 没有列宽的元素)
5.- 应该可以将报告至少导出为 Excel 和 PDF。
6.- 报告查看器应支持英语以外的语言。
我不知道我的需求是否不切实际,但报告生成器不是我的菜,我在这里不知所措。
在该领域有经验的任何人都可以为我提供任何指导,让我能够找到正确的方向进行调查?
I’m selecting a report generator for my .NET winforms app and it’s driving me crazy. I’m not familiar at all with report generators so…
Does anyone knows of a report generator that:
1.- Is easy to deploy in relation to the main app
a. (Least, least, least desirable)
Have a separate scriptable/silent installer
(I can make the app installer call the
report generator installer)b. (I can live with this) Have an
“integrable” installer (An integrated
installer for both the App and the
report generator can be made easily)c. (Most desirable) Clickonce/xcopy
installation possible (no installer at
all!!! yay!!!!).
2.- Is scriptable to some degree:
a. (I can live with this) Is it
possible to change certain properties
(image sources, colors, visibility,
widths, etc.) at runtime?b. (Most
desirable) Is it possible –in addition
to the previous item- to add/remove
elements to the report at runtime?
3.- Self-adjusts when you resize the page:
a. (Least desirable) You have to
manually resize things dynamically
accessing the report structures
(related to 2a)b. (Most desirable) The report and its
elements adjust automatically to the
available canvas/paper size (as HTML
pages do, using percentages)
4.- The size of individual elements in the report grows/shrinks in accordance to the content displayed inside (elements could be grid’s columns):
a. (Least desirable) The element only
grows vertically to accommodate bigger
content (no clipping).b. The size of the elements can be
self-adjusting to content (like a
<div> element). Columns in a grid for
example should grow/shrink according
to content (as in a HTML <table>
element without columns widths)
5.- It should be possible to export a report to at least excel and PDF.
6.- The report viewer should support languages other than English.
I don’t know if my needs are unrealistic, but report generators are not my thing, I’m at a loss here.
Anyone with experience on the field can give me any pointer in the right direction for me to investigate?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我们使用 DevExpress 的 XtraReports,它适用于 WinForms、ASP.NET、WPF 和 Silverlight。它功能齐全,应该能够满足您想要的大部分(如果不是全部)功能。在这里了解更多信息:
http://devexpress.com/Products/NET/Reporting/
We use DevExpress' XtraReports which works in WinForms, ASP.NET, WPF and Silverlight. It is fully featured and should be capable of most if not all of what you are wanting. Find out more here:
http://devexpress.com/Products/NET/Reporting/
我已经多次处于您的位置(构建具有报告功能的 WinForms 应用程序),我认为您最好的选择是,等等... 水晶报告。它满足您制定的所有标准,但确实有一个非常大的可再发行运行时的警告。它还具有.NET SDK、嵌入式设计器等。
I have been in your position many times (architecting a WinForms app with a reporting feature) and I think your best bet is, wait for it... Crystal Reports. It meets all the criteria you laid out but does have the caveat of a very large redistributable runtime. It also has a .NET SDK, an embeddable designer etc.