Wrox Programmer Forums
|
BOOK: Beginning ASP.NET Web Pages with WebMatrix
This is the forum to discuss the Wrox book Beginning ASP.NET Web Pages with WebMatrix by Mike Brind, Imar Spaanjaars ; ISBN: 978-1-1180-5048-4
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET Web Pages with WebMatrix 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 February 24th, 2013, 09:43 AM
Registered User
 
Join Date: Feb 2013
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
Default Problems with Chapter 6 code

Hello, 1st post in this forum. Thanks for being here!

I'm going through the book chapter-by-chapter, e-Book actually (Google Play), so no copy/paste allowed, so downloaded the code.

For chapter 6, I've noticed on here that there are a few issues, but posters have helped, in the Sell.cshtml file.

There's a "=" missing on line 120, but that's a no-brainer.

Here's what has me stumped: two "Expected identifier or string" errors, on lines 71 and 88.

Comparing the downloaded code with the code in the e-Book, everything looks good.

Help!

Thanks in advance,
Pete
 
Old February 25th, 2013, 10:22 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

These are caused by the extra commas on line 70 and 87. Simply remove them, and the errors in WebMatrix go away. The page runs fine in both cases though.

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:
pdesjardins (February 25th, 2013)
 
Old February 25th, 2013, 12:04 PM
Registered User
 
Join Date: Feb 2013
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Thank you Imar. I realized after I posted this that the errors were not critical stops! Cheers!





Similar Threads
Thread Thread Starter Forum Replies Last Post
chapter 11 code problems gameprof BOOK: Professional XNA Programming 2nd Edition ISBN: 978-0-470-26128-6 0 October 18th, 2010 07:56 AM
Problems with BuildProvider code (chapter 1) DevonTaig BOOK: Professional ASP.NET 3.5 SP1 Edition: In C# and VB 5 October 14th, 2009 02:11 PM
Chapter 2 - date code problems Memr2249 BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 0 July 6th, 2009 09:59 AM
Chapter 5 Code, problems? tmorgan BOOK: Beginning Access 2003 VBA 3 February 12th, 2007 07:26 AM
Chapter 11 Code Problems vbswshare BOOK: Professional VB 2005 ISBN: 0-7645-7536-8 3 April 9th, 2006 08:39 PM





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