为 .NET 对象数据生成报告的最佳解决方案是什么?
我们的项目使用对象作为报告的数据源。
我们的业务层返回单个对象或 IEnumerable。 我们的报告(相当复杂)需要显示对象及其相关对象的值类型属性。 典型情况是,从列表中显示包含类别数据的主报表,然后显示包含每个类别内每个产品的数据的子报表,然后显示每个产品的每个部分的子报表,依此类推。
从数据库报告对我们来说不是一个选择。
到目前为止我们已经尝试过 - Reporting Services:可以工作,但必须处理报告的 XML 定义来定义数据源类,如果您使用对象数据源,则很难使用,架构上不太干净 - Telerik Reports:相当不错(尤其是不错的架构),但似乎在复杂报告(主/子)方面存在问题,没有提供出色的分页控制,据传存在性能/崩溃问题(不成熟的产品)。
有谁知道一个好的报告解决方案可以集成到 ASP.NET 应用程序中并与作为数据源的对象配合使用?
Our projects are using objects as the data source to reports.
Our business layer is returning single objects or IEnumerable. Our reports (quite complex) need to display value-type properties of the object, and its related objects.
Typical case would be, from a List, display a master report with category data, then a subreport with data for each Product inside each Category, then a subreport for each Part of each Product, and so on.
Reporting from the database is not an option for us.
We have tried so far
- Reporting Services : works but have to mess around with the XML definition of the report to define the datasource classes, very hard to work with if you use an object datasource, architecturally not too clean
- Telerik Reports : quite nice (esp., nice architecture) but seems to have problems with complex reports (master/sub), does not give great paging control, rumored to have performance/crash problems (immature product).
Does anyone know a good reporting solution that can be integrated in an ASP.NET application and works well with objects as datasources ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我们正在使用 ActiveReports 和 XtraReports。 我也有使用 Telerik Reports 的经验。
XtraReports 和 Telerik Reports 是可用的最佳报告工具之一。 我对带有分层数据的主/详细报告也没有任何问题。 但XtraReports和Telerik Reports有很好的官方支持。 如果您对他们的组件有任何问题,他们通常会提供解决方案。
We are using ActiveReports and XtraReports. I have experience with Telerik Reports too.
The XtraReports and Telerik Reports are one of the best reporting tools, which are available. I haven't any problems with master/detail reports with and with with hierarchical data too. But XtraReports and Telerik Reports has very good oficial support. If you have any problem with their components, they typicaly provides solution.
除了能够将报表绑定到对象集合(请参阅 IListDataSource)之外,您还可以使用 ActiveReports 未绑定模式。 有关 ActiveReports 中非绑定模式的详细信息,请参阅以下内容:http://www.datadynamics。 com/Help/ARNET3/ActiveReports3_start.htm
In addition to being able to bind a report to a collection of objects (see IListDataSource), you can also have even greater control of the data binding with ActiveReports unbound mode. See the following for more info about unbound mode in ActiveReports: http://www.datadynamics.com/Help/ARNET3/ActiveReports3_start.htm