Click here to Skip to main content
15,900,724 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how to print a crystal report by clicking a button in a windows application form?
please give a solution
MAU787 10-Aug-12 7:07am    
you can print your gridview data..
Kenneth Haugland 10-Aug-12 23:15pm    
Please dont repost your question.... Use the Improve question button insted :)

Share this answer

see this link:[^]
Maybe this code already works:
CrystalDecisions.CrystalReports.Engine.ReportDocument report = new CrystalDecisions.CrystalReports.Engine.ReportDocument();
string repName = null;
repName = CrystalReportSource1.ReportDocument.FileName;
report.PrintToPrinter(1, false, 0, 0); 
Share this answer
Kenneth Haugland 10-Aug-12 23:14pm    
Ah, its a repost....

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900