gpt4 book ai didi

c# - Winforms 应用程序的报告生成器选项?

转载 作者:太空狗 更新时间:2023-10-30 01:26:43 25 4
gpt4 key购买 nike

我正在为我的 .NET winforms 应用程序选择一个报告生成器,这让我抓狂。我对报告生成器一点都不熟悉,所以……

有没有人知道报告生成器:

1.- 相对于主应用程序易于部署

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.- 在某种程度上是可编写脚本的:

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.- 调整页面大小时自动调整:

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.- 报告中各个元素的大小根据内部显示的内容增长/缩小(元素可以是网格的列):

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.- 至少应该可以将报告导出为 excel 和 PDF。

6.- 报告查看器应支持英语以外的语言。

我不知道我的需求是否不切实际,但报告生成器不是我的菜,我在这里不知所措。

任何有该领域经验的人都可以为我提供正确方向的任何指示,以便我进行调查吗?

最佳答案

我们使用 DevExpress 的 XtraReports,它适用于 WinForms、ASP.NET、WPF 和 Silverlight。它功能齐全,即使不是您想要的全部,也应该能够满足您的大部分需求。在此处了解更多信息:

http://devexpress.com/Products/NET/Reporting/

关于c# - Winforms 应用程序的报告生成器选项?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4318856/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com