We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 9 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(3)
我们对用于生成 HTML 报告(或任何其他基于文本的报告)的免费 StringTemplate.Net 库非常满意格式)。模板语言非常简单,任何理解 HTML 的人都应该能够适应模板。 HTML 报告可以使用 直接在应用程序中显示WebBrowser 控件,并且我们使用商业库将 HTML 转换为 PDF,如果想要的。
5 分钟介绍中的 StringTemplate 示例:
我们还提供了之前使用过Microsoft ReportViewer。它的优点是带有 WinForms 和 WebForms 的查看器控件、导出为 pdf 和 excel、搜索功能、SQL Server 集成和高级打印选项。但据我所知,它需要 Visual Studio 来创建/自定义报告
报表设计师;它并不真正支持最终用户定制报告。它似乎更面向在具有完整 Microsoft 堆栈(IIS、ASP.NET、SQL Server)的环境中工作的拖放程序员。
We're pretty happy with the free StringTemplate.Net library for generating HTML reports (or any other text-based format). The templating language is simple enough that anyone who understands HTML should be able to adapt the templates. The HTML reports can be shown directly in the application with the WebBrowser control, and we use a commercial library to convert the HTML to PDF if desired.
A StringTemplate example from the 5 minute introduction:
We have also used Microsoft ReportViewer before. This does have the advantage of coming with a viewer control for both WinForms and WebForms, export to pdf and excel, a search feature, SQL Server integration and advanced printing options. But AFAIK it requires Visual Studio to create/customize reports with the
Report Designer; it does not really support report customization by end users. It seems to be more oriented towards the drag-and-drop programmer working in an environment with a full microsoft stack (IIS, ASP.NET, SQL Server).
我正在开发一个 .net 库来完成这项工作。它适用于 RTF 文件。您提供模板和数据,它会生成 RTF 报告。
它包括一种专有的编程语言(一种很小但功能强大的语言:)),包括数据表循环(带条件和不带条件)和“IF ELSE ENDIF”之类的句子,允许它有条件地生成文档的各个部分。
除了数据表之外,它还能够使用程序员提供的变量。我希望包含许多其他功能,例如格式化功能、引发事件等。
它将是一个商业产品(一个非常非常便宜的产品),即使它仍在开发中并且需要更多的测试,到目前为止我对它非常满意。如果您有兴趣了解,请保持联系。
问候,
贡萨洛
I'm developing a .net library intended to do this job. It works with RTF files. You provide the template and the data and it generates the RTF report.
It includes a propietary programming language (a very little but powerful one :) ) including Loops for datatables (with and without conditions) and an "IF ELSE ENDIF" like sentence whichs allows it to conditionally generate parts of a document.
It's also capable of using variables provided by the programmer, besides the datatables. I'm panning to include many other features such as formatting functions, raising events, etc.
It will be a commercial product (a really very cheap one), and even it's still under development and needs much more testing, I'm pretty happy with it so far. If you are interested in hearing about it, keep in touch.
Regards,
Gonzalo
刚刚检查我的答案并找到了这个。也许有点晚了,但我不会错过告诉你我终于将 NTemplates 上传到 codeplex 的机会。
检查 ntemplates.codeplex.com。
最好的问候,
贡萨洛
Just was checking my answers and found this one. It's a bit late perhaps but I wouldn't miss the chance to tell you I finally uploaded NTemplates to codeplex.
Check ntemplates.codeplex.com.
Best regards,
Gonzalo