简体   繁体   English

报告工具,该工具打印我们通过的控件

[英]Reporting tool which print the control which we pass on that

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 ? 除了与c#和mysql一起使用的Crystal报表之外,什么是最好的报表工具,因为必须在用户计算机中下载Crystal报表? 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. 因此,Crystal Reports的另一种替代选择是将c#与mysql一起使用,并且尺寸应较小,并且用户无需下载更多内容,并且应该具有良好的功能。 (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). 编辑:我只需要动态地在窗体上打印控件,就像如果用户要打印第三方控件,那么它也应该被打印,但是不应该像树视图的图像一样被打印,就像用户要在上面打印树视图一样窗口形式,但树视图已由用户折叠,因此在此,如果用户打印此树视图,则不应将其打印为折叠的树视图,而应将其打印在整个树视图中(展开)。

Not a reporting tool at all, but if you're most interested with simply having a PDF output I recommend iTextSharp . 根本不是一个报告工具,但是如果您对仅提供PDF输出最感兴趣,建议您使用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. 这不是我同意的最佳方法,但这完全取决于您要寻找的内容。

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. SQL Reporting Services-这要求您安装带有SRS的Microsoft SQL Server,但报表本身可以连接到其他数据库,包括MySQL(通过ODBC),然后可以在C#应用程序中使用ReportViewer组件进行呈现。 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... 由于处理是在服务器端进行的,因此用户无需进行其他下载,而且很容易嵌入到Web应用程序,SharePoint等中。
  • Visual Studio 2010 does ship with fantastic reporting controls which can use any data source. Visual Studio 2010附带了出色的报告控件,这些控件可以使用任何数据源。 If you on 2008 you can use the out of band release of these same controls. 如果您使用的是2008年版,则可以使用这些控件的带外发行版。 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 您可以在以下位置查看这些示例: http : //code.msdn.microsoft.com/mschart

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM