Click here to Skip to main content
12,078,070 members (45,693 online)
Rate this:
 
Please Sign up or sign in to vote.
Hi! I have an error when I am doing codes on crystal report
crpPlayer report = new crpPlayer();
        report.SetDataSource(ds);
        CrystalReportViewer1.ReportSource = report; 

this is the error "crpPlayer"
Error   1   The type or namespace name 'crpPlayer' could not be found (are you missing a using directive or an assembly reference?)

I am currently following tutorials. Please help. Thanks in advance!
Posted 21-Mar-13 11:11am
Comments
ThePhantomUpvoter 21-Mar-13 16:33pm
   
The error message is telling exactly what the problem is. You are missing a "using" statement and/or missing an assembly reference in your project. You need to add the assembly or namespace where "crpPlayer" is defined.
KingMambaRose 21-Mar-13 16:51pm
   
What kind of namespace. I'm sorry I couldn't identify because I'm following a video. And then that error pop out but in the video there are no errors. Can you tell me what kind of namespace? I'm sorry I'm still a novice in ASP.net.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web01 | 2.8.160212.1 | Last Updated 21 Mar 2013
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100