Print Report for a desktop winforms application
SqlDataAdapter
and also in DataTable
. Now I want to generate and print a repo开发者_JS百科rt with all the data. Also I would like to add a header to each page containing the company name, address and telephone number.
I am developing using C#
There is also Report Viewer set of reporting rools library and even language for reporting. It is free and it it came from Microsoft more info at http://www.gotreportviewer.com/
Options include creating a pdf using a library such as ITextSharp or PDFSharp.
Also, there are some free reporting options out there such as:
neoReports (on CodeProject.com).
I've used Crystal Reports for .NET, but its a real pain to use.
EDIT: In light of the additional Dot Matrix requirement, I'm thinking you should not use any reporting system. Instead, just write everything to a text file, then print that. You can mess around with the formatting to make it look how you want. Keep it simple.
Have you considered DevExpress Xtra Reports?
You can use Crystal Report
available in visual studio.
Crystal Reports for Visual Studio .NET is the standard reporting tool for Visual Studio .NET; it brings the ability to create interactive, presentation-quality content — which has been the strength of Crystal Reports for years — to the .NET platform.
精彩评论