Click here to Skip to main content
15,914,488 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
I am using VS2005. I want to open Crystal Report print dialogue box programmatically when i load the crystal report.So I give the following coding

CrstalReportViewer1.PrintReport()


But error is displays 'the type or namespace is CrystalReportViewer1 does not contain PrintReport() method'.

Please help me
Posted
Comments
Vedangi 11-Jul-12 7:18am    
May be this namespace is missing : CrystalDecisions.Windows.Forms.CrystalReportViewer
Joezer BH 3-Feb-13 3:07am    
Strange.
Did you create your own override or CrystalReportViewer?

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