Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
BOOK: ASP.NET Website Programming Problem-Design-Solution
This is the forum to discuss the Wrox book ASP.NET Website Programming: Problem - Design - Solution, Visual Basic .NET Edition by Marco Bellinaso, Kevin Hoffman; ISBN: 9780764543869
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET Website Programming Problem-Design-Solution 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 March 22nd, 2012, 04:00 PM
Registered User
Points: 13, Level: 1
Points: 13, Level: 1 Points: 13, Level: 1 Points: 13, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Mar 2012
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Cool Error in C# Source Code - SiteMapEntities class

Hi

I am working through the book, which is written in VB (ASP.NET 3.5 Website Programming Problem - Design - Solution). The source could in C# that I have downloaded has the following line in the SiteMapEntities class:

List<ObjectStateEntry> typeEntries = this.ObjectStateManager.GetObjectStateEntries(Enti tyState.Modified | EntityState.Added).Where<ObjectStateEntry>(new Func<ObjectStateEntry, bool>(SiteMapEntities._Lambda$__13)).ToList<ObjectStateEntry>();

The problem is two fold; First I get the error Unexpected character'$' and also, SiteMapEntities does not have a method _Lambda$__13. This is hard to figure out, as the C# code is quite different to the VB code and I am unable to figure out what this should be.

Last edited by ltimms; March 22nd, 2012 at 07:34 PM..




Similar Threads
Thread Thread Starter Forum Replies Last Post
full source code for the class AntiXssEncoder plagoon BOOK: Professional ASP.NET MVC 2 2 January 7th, 2011 09:28 AM
Chapt 20 Source Code and Error intilli4 BOOK: Beginning iOS 4 Application Development 0 November 24th, 2010 05:04 AM
Error on source code 7-51? fedrok BOOK: Professional ASP.NET 3.5 : in C# and VB ISBN: 978-0-470-18757-9 1 October 15th, 2008 10:51 AM
Error in source code compiling angelika J2EE 2 December 29th, 2003 11:45 AM





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