给定某个对象的 C# 列表(可能序列化为 XML),为该数据创建灵活的报告应用程序的最简单方法是什么?
我对 ASP.NET 或 ASP.NET MVC 作为平台特别感兴趣,但无论平台如何,都欢迎为社区的利益做出任何贡献!
因此,没有一个正确的答案 - 因此它是一个社区维基。
我们不想重新发明轮子,并且构建一个 GUI 来过滤数据似乎有点矫枉过正。
报告服务太多了吗? REST 能以某种方式提供帮助吗?有没有办法构建一个合理的基于 Web 的 GUI 来报告和过滤某些 C# 对象列表?
我过去构建过基于类和反射动态生成表单(WinForms)的东西 - 是否存在类似的报告?
我们不想花几天时间构建一个可爱的 GUI,但当有人转身说“哦,你应该只使用 XYZ!”...!!
我们还担心,有时通过某些工具获得最初的支持可以加快第一步的速度,但几乎会导致最后关键的 2% 停止。
I'm specifically interested in ASP.NET or ASP.NET MVC as the platform, but any contributions for the good of the community are welcome irrespective of platform!
As such, there is no one right answer - hence it's a community wiki.
We don't want to reinvent the wheel, and building a GUI to filter the data seems like overkill.
Is Reporting Services too much? Can REST help, somehow? Is there some way to build a reasonable web based GUI for reporting and filtering some list of C# objects?
I've built things in the past that dynamically generate forms (WinForms) based on classes and reflection - does something like this exist for reporting?
We don't want to spend a few days building a lovely GUI when someone will turn around and say "Oh, you should've just used XYZ!"...!!
We are also wary that sometimes getting that initial leg up from some tool can speed up the first bit, but almost bring to a halt the last, crucial 2%.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
不久前,我们使用水晶报表。不要这样做。
一两年前,我撕掉了 CR,将报告中的数据序列化为 XML,然后使用 XSLT 将它们转换为 HTML/CSS 报告。如果您想使用 ASP.NET MVC,我想不出更简单的方法来制作报告。
Awhile back, we used Crystal Reports. Don't do this.
A year or two ago, I tore out CR, serialized the data from our reports into XML, then used XSLT to convert those into HTML/CSS reports. If you're wanting to use ASP.NET MVC, I can't think of a much simpler way to do reports.