View Single Post
  #1 (permalink)  
Old August 28th, 2010, 11:41 PM
poduska poduska is offline
Registered User
 
Join Date: Aug 2010
Posts: 4
Thanks: 2
Thanked 0 Times in 0 Posts
Default Chapter 19a code does not work

Hello,

All code has worked fine up to this point and this book has been a good "Quick immersion" into ASP.net.

I don't mean to discourage anyone from the book, if someone can confirm this chapters code works I will assume it is just my system configuration.

I am not sure the code for Chapter 19a is functional.
I have attempted it 4 times, followed along with the video and even copied from the Book solutions the DataLayer folder and Lession19a folder and I still receive this error.

C:\Documents and Settings\Dad\My Documents\ASPNETTrainer\Lesson19a\Lesson19a\Catego ry.aspx.cs(14,13): error CS0246: The type or namespace name 'DataLayer' could not be found (are you missing a using directive or an assembly reference?)

This appears twice in the output.

I assumed if I copied over the folders from the web site (Datalayer and Lession19a) I would have exactly what you do in the video but is there something else I should try?

I noticed on page 304 #18 you add "if (!Page.IsPostBack) and the DataLayer line of code we add to the Page_Load on page 303 #13 is missing but I receive errors if I delete the line.

All code has worked fine up to this point.

Thank

Last edited by poduska; August 29th, 2010 at 07:45 AM.. Reason: Clarification