打印我们传递的控制的报告工具

发布于 2024-10-05 16:21:10 字数 272 浏览 1 评论 0原文

除了与 C# 和 mysql 一起使用的水晶报告之外,什么是最好的报告工具,因为水晶报告必须下载到用户计算机中?那么,使用 c# 和 mysql 的水晶报表的另一个替代方案是什么,它的大小应该更小,用户不需要下载更多。而且它应该具有良好的功能。 (所有开源并付费。)

编辑:我只需要动态打印表单上的控件,就像如果用户想打印第三方控件那么也应该打印它,但不应该像图像一样打印树视图就像用户想要在窗口窗体上打印树视图但树视图被用户折叠一样,因此如果用户打印此树视图,则不应打印折叠的树视图,而应打印整个树视图(展开)。

What is the best reporting tool other than crystal report using with c# and mysql because crystal report has to be downloaded in user machine ? So what is the other alternative of the crystal report for using c# with mysql and should be less in size and user will not have to need to download more.And it should be with good features. (All open source and with paying charge.)

EDIT: I have need of printing only control on the form dynamically, like if user want to print third party control then also it should be printed, but it should not be printed like image of the treeview like if user wants to print the treeview on the window form but treeview is collapsed by user so here if user prints this treeview then it should not be printed collapsed treeview and but it should be printed whole the treeview(expanded).

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

素罗衫 2024-10-12 16:21:10

根本不是一个报告工具,但如果您只对 PDF 输出最感兴趣,我推荐 iTextSharp。然后,您可以在报告中填充要替换为变量的占位符,就像使用任何软件一样 - 在用户下载报告之前。

我同意这不是最好的方法,但这完全取决于您要寻找的内容。

Not a reporting tool at all, but if you're most interested with simply having a PDF output I recommend iTextSharp. You can then fill the report with place holders to be replaced with variables as you would any software - prior to the user downloading it.

Not the best method I agree, but it all depends on what you're looking for.

深白境迁sunset 2024-10-12 16:21:10

使用

  • SQL Reporting Services 的两个选项 - 这要求您安装带有 SRS 的 Microsoft SQL 服务器,但您的报告本身可以连接到其他数据库,包括 MySQL(通过 ODBC),然后您可以在 C# 中使用 ReportViewer 组件应用程序来渲染它。用户无需额外下载,因为处理发生在服务器端,而且很容易嵌入到 Web 应用程序、SharePoint 等中...
  • Visual Studio 2010 确实附带了出色的报告控件,可以使用任何数据源。如果您使用的是 2008 年,则可以使用这些相同控件的带外版本。在所有情况下,这些都只是代码,因此需要部署一些额外的程序集。您可以在以下位置查看这些示例:http://code.msdn.microsoft.com/mschart

Two options for you to use

  • SQL Reporting Services - this has a requirement that you install a Microsoft SQL server with SRS but your reports themselves can connect to other databases, including MySQL (via ODBC) and you can then use the ReportViewer component in your C# applications to render it. There is no additional downloads for the user as the processing happens server side, plus it is easy to embed into web apps, SharePoint etc...
  • Visual Studio 2010 does ship with fantastic reporting controls which can use any data source. If you on 2008 you can use the out of band release of these same controls. In all cases these are just code so it's a few extra assemblies to deploy. You can see samples of these in: http://code.msdn.microsoft.com/mschart
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文