Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 1.0 and 1.1 > BOOK: ASP.NET Website Programming Problem-Design-Solution
Password Reminder
Register
Register | FAQ | Members List | Calendar | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Display Modes
  #1 (permalink)  
Old March 22nd, 2012, 05: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 08:34 PM.
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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 11:51 AM
Error in source code compiling angelika J2EE 2 December 29th, 2003 11:45 AM



All times are GMT -4. The time now is 03:17 PM.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.