on 09-18-2008 7:37 PM
If I add a report Crystal Reports 2008 to a Project of Visual Studio 2005, which I must add to the project so that the report can be loaded without problems.
Thanks
Hi,
As i understood you want to use Crystal report with visual studio.We can view crystal report with the help of CrystaReportviewer.
we need to use:-
CrystalDecisions.CrystalReports.Engine;
CrystalDecisions.Shared;
Samples are here:-
[https://boc.sdn.sap.com/codesamples]
If you are having issue through code then post you message in NET Development - Crystal Reports Forums
Link is here:
[https://www.sdn.sap.com/irj/sdn/businessobjects-sdk-forum]
Hope that helps!!
Regards,
Shweta
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Anibal,
Try with this for web application:
protected void Page_Load(object sender, EventArgs e)
{
string Reportpath = Server.MapPath("World Sales Report.rpt");
CrystalReportViewer1.ReportSource = Reportpath;
}
For windows application you can try with this code:
ReportDocument Rdoc = new ReportDocument();
/*Crystal report path*/
Rdoc.Load(Application.StartupPath + "//..//..//CrystalReport1.rpt");
Hope that helps!!
Regards,
Shweta
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.