Topic: ASP.NET

Beginning ASP.NET 2.0 with C# (0470042583) cover image

Beginning ASP.NET 2.0 with C#

Chris Hart, John Kauffman, David Sussman, Chris Ullman
ISBN: 978-0-470-04258-8
Paperback
768 pages
May 2006
This title is out-of-print and not currently available for purchase from this site.

Do you think you've discovered an error in this book? Please check the list of errata below to see if we've already addressed the error. If not, please submit the error via our Errata Form. We will attempt to verify your error; if you're right, we will post a correction below.

ChapterPageDetailsDatePrint Run
1 15 Error in Text
Add Folder

should be:
New Folder
11/10/06
9 296 Error in Code
shaded code line at bottom of page:
Label1.Text = Convert.ToInt32(TextBox1.Text) + Convert.ToInt32(TextBox.Text);
should be:
Label1.Text = (Convert.ToInt32(TextBox1.Text) +
Convert.ToInt32(TextBox2.Text)).ToString();
8/31/06
9 299 Error in Code
first shaded code line:
string[,] MyArray = new string[3, 3];

should be:
string[,] MyArray = new string[4, 4];
8/31/06
9 299 Error in Code
2nd shaded code line
string[, ,] MyArray2 = new string[3, 3, 3];

should be:
string[, ,] MyArray2 = new string[4, 4, 4];
8/31/06
322 Error in Code
beginning with the 14 line:
while (rdr.Read())
{
goalsFor += Convert.ToInt32(rdr["GoalsFor"]);
goalsAgainst += Convert.ToInt32(rdr["GoalsAgainst"]);

if (goalsFor > goalsAgainst)
wins++;
else if (goalsFor < goalsAgainst)
losses++;
else
draws++;
}

SHOULD all be replaced by:
while (rdr.Read())
{
int thisGameGoalsFor = Convert.ToInt32(rdr["GoalsFor"]);
int thisGameGoalsAgainst = Convert.ToInt32(rdr["GoalsAgainst"]);

if (thisGameGoalsFor > thisGameGoalsAgainst)
wins++;
else if (thisGameGoalsFor < thisGameGoalsAgainst)
losses++;
else
draws++;

goalsFor += thisGameGoalsFor;
goalsAgainst += thisGameGoalsAgainst;
}
8/31/06
322 Error in Code
next to last code line:
winRatio = Convert.ToInt32(wins / losses * 10);

should be:
double winPercent = wins * 1.0 / losses;
winRatio = Convert.ToInt32(winPercent * 10);
8/31/06
336 Error in Code
2nd code block 5th line AND 3rd code block 5th line:
_Productname

shoule be:
_productName
8/31/06
337 Error in Heading
heading:
Shared Methods and Properties
should be:
Static Methods and Properties
8/31/06
337 Error in Text
paragraph before last code line:
Shared keyword

should be:
static keyword
8/31/06
337 Error in Code
last code line:
Utils.Log("An exception occurred");

should be:
Tools.Log("An exception occurred");
8/31/06
12 445 Note
UDDI:
Microsoft, IBM, and others have all closed their public UDDI registries. You should consider this public registry technology obsolete.
08/29/2007
658 Inaccurate Information
On page 658 in the WROX United Installation section, it says:
"Go to www.wrox.com and search for dedicated page for Beginning ASP.NET 2.0 with C++."

It should say:
"Go to www.wrox.com and search for dedicated page for Beginning ASP.NET 2.0 with C#."
07/09/2006
662 Error in Text
page 662, the start of the second paragraph under "Checking the Installation with IIS":

Text reads:
Please note that while Figure B-22 is seemingly identical to Figure B-21, the Address line reveals a small difference.

Should be:
Please note that while Figure B-24 is seemingly identical to Figure B-23, the Address line reveals a small difference.
08/10/2006