Type is not defined
On page 45 of "Professional Crystal Reports for Visual Studio.NET 2nd Edition"
The text says to just add the following line:
Private Sub CrystalReportViewer1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CrystalReportViewer1.Load
CrystalReportViewer1.ReportSource = New customerlisting()
When I add this code and run it I get the following error:
Type 'customerlisting.customerlisting' is not defined.
I followed the instructions to the letter. Why am I getting this error?