Wrox Programmer Forums
|
BOOK: Professional C# 2005
This is the forum to discuss the Wrox book Professional C# 2005 by Christian Nagel, Bill Evjen, Jay Glynn, Karli Watson, Morgan Skinner, Allen Jones; ISBN: 9780764575341
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional C# 2005 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 August 17th, 2007, 09:01 PM
Registered User
 
Join Date: Aug 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default error in chapter 26

error in code:
on page 839(chapter 26),Line 11, there is a mistake .
the type of the AttendeeList is text(16),but when you add
more people's name ,the database can only store the first 16
bites, which cannot get all the names of the Attendees.
and i think the type should be varchar(255). You also have to change the table 'Event' on page 834.

 
Old February 4th, 2009, 06:16 AM
Registered User
 
Join Date: Feb 2009
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Unhappy more errors in chapter 26

In my book the pages are numbered differently; I guess this changed between 1st,2nd,3rd edition etc?

Anyway some more errors in chapter 26. Do Wrox even test their own code? I do not understand how these errors are not caught as a simple proof read, compile and run would have caught them?

The code on page 924 to set the initial date does not work. The current date is selected but not rendered with grey background. Also if this code is changed to a another specific date..
System.DateTime trialDate = new System.DateTime(2005,06,04);
The current date is still selected. Both problems reproduced in both IE6 and Firefox 3.

Page 930 fails to mention need to add
OnDayRender="calendar_DayRender"
to the calendar's ASP code to render busy dates with red background.
 
Old February 4th, 2009, 07:19 AM
Registered User
 
Join Date: Feb 2009
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Unhappy

Quote:
Originally Posted by songchaotf View Post
error in code:
on page 839 .. page 834.
These are pages 927 and 932 in my (I think first) edition.
I can confirm these errors, but you can get away with just changing 16 to 255 on page 932.
 
Old February 4th, 2009, 08:20 AM
Registered User
 
Join Date: Feb 2009
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Angry FormView blank for newly added events

Why does the FormView added in pages 936-939 not work for newly added events, only those that came prepopulated in the database? Clicking one of these in the DataList does select it (e.g. changes font to bold), but resets the FormView to empty (blank).





Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 26 XML Web Services - error handing? RichDiaz BOOK: Professional ASP.NET 2.0 and Special Edition; ISBN: 978-0-7645-7610-2; ISBN: 978-0-470-04178-9 0 August 20th, 2007 04:47 PM
code for chapter 26 missing? uvis130 BOOK: Excel 2003 VBA Programmer's Reference 3 February 6th, 2006 03:11 PM
chapter 26 code alfmeiggs BOOK: Excel 2003 VBA Programmer's Reference 0 November 3rd, 2005 05:57 PM
Web Services SOAP Example (Chapter 26) pagates BOOK: Professional C#, 2nd and 3rd Editions 0 February 17th, 2005 03:16 PM





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