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