Wrox Programmer Forums
|
BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3
This is the forum to discuss the Wrox book Beginning ASP.NET 3.5: In C# and VB by Imar Spaanjaars; ISBN: 9780470187593
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 13th, 2009, 12:44 PM
Authorized User
 
Join Date: Jun 2009
Posts: 70
Thanks: 18
Thanked 1 Time in 1 Post
Default Definition of PanetWroxDataContext

As I was working through Chapter 14 I started getting error messages that PlanetWroxDataContext was not defined. I first noticed that in around page 506, but checking back through earlier files, the problem was there too. Clearly, something had got corrupted. Since I was near the end of the chapter, I transferred all the Ch 14 source files to the site - and all was well.

However, I thought I better refresh on how the class was created - am I right in thinking that was done in Try It Out starting on page 428?
 
Old August 14th, 2009, 05:05 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

>> am I right in thinking that was done in Try It Out starting on page 428?

Yes, correct. That's where you add the LINQ to SQL diagram which creates the PlanetWroxContext for you.

Cheers,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
The Following User Says Thank You to Imar For This Useful Post:
kiwibrit (August 14th, 2009)
 
Old August 14th, 2009, 05:16 AM
Authorized User
 
Join Date: Jun 2009
Posts: 70
Thanks: 18
Thanked 1 Time in 1 Post
Default

Thanks. That's a handy piece of revision.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Importing Module Definition wdarnellg BOOK: Professional DotNetNuke Module Programming ISBN: 978-0-470-17116-5 1 March 15th, 2009 09:47 PM
'Table' does not contain a definition for 'BorderS [email protected] C# 2005 1 September 13th, 2008 03:08 AM
Table definition for CreateUserWizard kutel ASP.NET 2.0 Basics 3 July 25th, 2007 09:57 AM
Definition Little Shell VB.NET 2002/2003 Basics 3 October 12th, 2005 07:34 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.