Click here to Skip to main content
15,886,110 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a C# window application.It work good.But after i install the setup file in the same system crystal report get load error.
This is my code.

ReportDocument cryRpt = new ReportDocument();

cryRpt.Load(Application.StartupPath + "\\myreport.rpt");

TextObject C_name= (TextObject)cryRpt.ReportDefinition.Sections["Section1"].ReportObjects["C_name"];

C_name.Text = "My name";
Posted

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