Click here to Skip to main content
15,891,607 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have inherited a Visual Studio (2008) application. I'm updating it with VS2010. It currently uses the default reporting tool but I've run into some issues with reports spilling onto multiple pages. I'm hoping Crystal reports will do a better job of this.

I have .cs and .rdlc files which get data from an 2008 SQLServer database.

Is there a tutorial or code sample you can share that shows where in the existing application I would add the applicable code access the database?

In the wizard I see the tables and select the data I want but I don't see where the generated code is stored.

I'm also unclear on exactly what I need to add/change to the existing application to replace the existing report(s).

Currently main.cs calls:
reportForm printdocs = new reportForm(p1,p2,p3,p4);
printdocs.ShowDialog();

reportForm.cs then uses the passed parameters to collect data and print different .rdlc files:
ReportViewer1.LocalReport.ReportEmbeddedResource = "WindowsFormsApplication1.xyz.rdlc"

Ideally I would like to replace .rdlc report with a crystal reports version to test the differences. How would I do this?

Thanks,

Lorne
Posted

1 solution

VS2008 Ultimate I know came out with the Crystal Reports SDK but VS2010 and VS2012 did not, First go download Crystal Reporting SDK here

http://social.msdn.microsoft.com/Forums/en-US/91f71ce2-e591-45a1-8bc2-0d61cd090117/crystal-reports-version-for-vs-2010[^]

Then come back to me and I'll help where I can
 
Share this answer
 

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