I have added my crystal report (EmployeeList.rpt) to my ASP.NET project (VS2005 bundled CR) and I'm assured by the book and everything else on the Net that I can now write code such as
CrystalReportViewer1.ReportSource = New EmployeeList
Only problem is that EmployeeList is not a valid class. I walked through the creation of the report in Chapter 1 and I don't think I missed any steps except that I don't have a ReportDocument component so I specified the report for the viewer via the viewer's smart tag.
Is there some property I've missed setting? I can't find anything.
I've searched the Net and I can't find anyone else having this problem so I'm probably being dumb as a brick but even bricks need help sometimes.
If anyone can make any suggestions on what I should check I'd be very happy.
Thanks
Terry Hutt