Wrox Programmer Forums
|
BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8
This is the forum to discuss the Wrox book Beginning ASP.NET 2.0 by Chris Hart, John Kauffman, David Sussman, Chris Ullman; ISBN: 9780764588501
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 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 January 30th, 2006, 02:00 PM
Friend of Wrox
 
Join Date: Apr 2005
Posts: 190
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 6, page 201,Try it out does not work.

In the Try It Out, line 4 requires you to "click Update". When I do so, I get
an error message: System.Data.SqlClient.SqlException. "Must declare the scalar
variable "@original_PlayerID".
Can anyone help me by telling me where to go to declare the scalar?

I note that the solution provided in the "End" folder works whereas following the Try It Out from the "Begin" folder does not. So it looks like the authors found a way to solve this problem. I just don't know where to go to do the same thing. Thanks to anyone who helps.

VV


 
Old January 30th, 2006, 02:07 PM
Authorized User
 
Join Date: Dec 2003
Posts: 46
Thanks: 0
Thanked 1 Time in 1 Post
Default

Sorry about this - it's an error that slipped through. You just need to remove the "original_" bit - the parameter should be "@PlayerID".

Dave

 
Old January 30th, 2006, 02:20 PM
Friend of Wrox
 
Join Date: Apr 2005
Posts: 190
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks much. Worked like a charm.







Similar Threads
Thread Thread Starter Forum Replies Last Post
chapter one doesn't work in rails 2.0.2 wanguan2000 BOOK: Beginning Ruby on Rails 15 May 16th, 2009 11:39 PM
Chapter 1 Ctrl+F5 don't work, F5 does work? jimboak BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 7 June 29th, 2008 03:46 AM
Page 201 Try It Out mshytech BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 4 January 16th, 2006 12:31 PM
a example of chapter doesn't work. mizimizi Classic ASP XML 2 October 19th, 2003 01:27 PM





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