I have created one Windows Forms application with C# and MySQL (using MySQL Connector). Now I need to create some reports from data in my MySQL database, and print it out.
I've tried Crystal Reports, Visual Studio 2010 reports and so on, but all see开发者_开发技巧m complicated to use with my entity dataset.
I'm using LINQ to get queries. Is there any way I can create reports like HTML format and simply print them through the application? Someone asked me to send my data as RTF and straight without saving or printing it, but I cannot find a good tutorial for creating RTF like that.
ReportViewer is a freely redistributable control that enables embedding reports in applications developed using the .NET Framework. Reports are designed with drag-and-drop simplicity using Report Designer included in Visual Studio 2010. The ReportViewer site will give you all the necessary details. It may be a bit complicated, but it will do what you want. Reporting is a little difficult to understand anyway for a novice user.
I hope you want something like below.

 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论