p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   BOOK: Professional ASP.NET 3.5 SP1 Edition: In C# and VB (http://p2p.wrox.com/forumdisplay.php?f=497)
-   -   Error Trying to run sample code from chapter 9 (http://p2p.wrox.com/showthread.php?t=82649)

mzaretsky99 February 17th, 2011 10:58 PM

Error Trying to run sample code from chapter 9
 
Hi, Everybody. I am trying to run Sample code from Chapter 9 of the book (more specifically Listing9-2.aspx). I get a whole bunch of errors when I try to run it. See below:

c:\Users\mzaretsky\Documents\Visual Studio 2008\Projects\ProfASPNet\ProfASPNet\App_Code\Movie s.designer.cs(16,19): error CS0234: The type or namespace name 'Linq' does not exist in the namespace 'System.Data' (are you missing an assembly reference?)
c:\Users\mzaretsky\Documents\Visual Studio 2008\Projects\ProfASPNet\ProfASPNet\App_Code\Movie s.designer.cs(17,19): error CS0234: The type or namespace name 'Linq' does not exist in the namespace 'System.Data' (are you missing an assembly reference?)
c:\Users\mzaretsky\Documents\Visual Studio 2008\Projects\ProfASPNet\ProfASPNet\App_Code\Movie s.designer.cs(25,54): error CS0234: The type or namespace name 'Linq' does not exist in the namespace 'System.Data' (are you missing an assembly reference?)
c:\Users\mzaretsky\Documents\Visual Studio 2008\Projects\ProfASPNet\ProfASPNet\App_Code\Movie s1.designer.cs(14,20): error CS0234: The type or namespace name 'Linq' does not exist in the namespace 'System.Data' (are you missing an assembly reference?)
c:\Users\mzaretsky\Documents\Visual Studio 2008\Projects\ProfASPNet\ProfASPNet\App_Code\Movie s1.designer.cs(15,20): error CS0234: The type or namespace name 'Linq' does not exist in the namespace 'System.Data' (are you missing an assembly reference?)
c:\Users\mzaretsky\Documents\Visual Studio 2008\Projects\ProfASPNet\ProfASPNet\App_Code\Movie s1.designer.cs(26,55): error CS0234: The type or namespace name 'Linq' does not exist in the namespace 'System.Data' (are you missing an assembly reference?)
c:\Users\mzaretsky\Documents\Visual Studio 2008\Projects\ProfASPNet\ProfASPNet\App_Code\Movie s.designer.cs(28,29): error CS0234: The type or namespace name 'Linq' does not exist in the namespace 'System.Data' (are you missing an assembly reference?)
c:\Users\mzaretsky\Documents\Visual Studio 2008\Projects\ProfASPNet\ProfASPNet\App_Code\Movie s.designer.cs(58,58): error CS0234: The type or namespace name 'Linq' does not exist in the namespace 'System.Data' (are you missing an assembly reference?)
c:\Users\mzaretsky\Documents\Visual Studio 2008\Projects\ProfASPNet\ProfASPNet\App_Code\Movie s.designer.cs(64,77): error CS0234: The type or namespace name 'Linq' does not exist in the namespace 'System.Data' (are you missing an assembly reference?)
c:\Users\mzaretsky\Documents\Visual Studio 2008\Projects\ProfASPNet\ProfASPNet\App_Code\Movie s.designer.cs(70,21): error CS0234: The type or namespace name 'Linq' does not exist in the namespace 'System.Data' (are you missing an assembly reference?)
c:\Users\mzaretsky\Documents\Visual Studio 2008\Projects\ProfASPNet\ProfASPNet\App_Code\Movie s.designer.cs(78,21): error CS0234: The type or namespace name 'Linq' does not exist in the namespace 'System.Data' (are you missing an assembly reference?)
c:\Users\mzaretsky\Documents\Visual Studio 2008\Projects\ProfASPNet\ProfASPNet\App_Code\Movie s.designer.cs(86,21): error CS0234: The type or namespace name 'Linq' does not exist in the namespace 'System.Data' (are you missing an assembly reference?)
c:\Users\mzaretsky\Documents\Visual Studio 2008\Projects\ProfASPNet\ProfASPNet\App_Code\Movie s.designer.cs(95,9): error CS0246: The type or namespace name 'ISingleResult' could not be found (are you missing a using directive or an assembly reference?)
........
........
c:\Users\mzaretsky\Documents\Visual Studio 2008\Projects\ProfASPNet\ProfASPNet\App_Code\Movie s1.designer.cs(505,4): error CS0246: The type or namespace name 'ColumnAttribute' could not be found (are you missing a using directive or an assembly reference?)
c:\Users\mzaretsky\Documents\Visual Studio 2008\Projects\ProfASPNet\ProfASPNet\App_Code\Movie s1.designer.cs(423,3): error CS0246: The type or namespace name 'Table' could not be found (are you missing a using directive or an assembly reference?)
c:\Users\mzaretsky\Documents\Visual Studio 2008\Projects\ProfASPNet\ProfASPNet\App_Code\Movie s1.designer.cs(423,3): error CS0246: The type or namespace name 'TableAttribute' could not be found (are you missing a using directive or an assembly reference?)

Does anyone have any clue as to what is going on. Thank ahead for any input on this. Michael.


All times are GMT -4. The time now is 07:48 AM.

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