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 seem 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.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.