Errata

Programming ASP.NET

Errata for Programming ASP.NET

Submit your own errata for this product.

The errata list is a list of errors and their corrections that were found after the product was released. If the error was corrected in a later version or reprint the date of the correction will be displayed in the column titled "Date Corrected".

The following errata were submitted by our customers and approved as valid errors by the author or editor.

Color key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted By Date submitted Date corrected
Printed
Page 3
Web Services paragraph

"Simple Object Address Protocol"

NOW READS:
"Simple Object Access Protocol"

Anonymous    Apr 01, 2004
Printed
Page 6
2nd paragraph of sidebar

www.MyServer.com/HellowWorld.htm
should be:
www.MyServer.com/HelloWorld.htm

Anonymous   
Printed
Page 11
6th paragraph

"In Figure 1-6, Visual Basic Projects is selected".

NOW READS:
"In Figure 1-6, Visual C# Projects is selected".

Anonymous    Apr 01, 2004
Printed
Page 22
2nd to last paragraph

Bad line break: "The .sln file contains a list..." breaks after "."!

Anonymous   
Printed
Page 46
Macro Explorer paragraph

Extraneous "the" in "The Macro Explorer is the one of the main tools..."
It should say:
"The Macro Explorer is one of the main tools..."

Anonymous   
Printed
Page 51
Connect to Device paragraph

"physical" is misspelled in "...to either a phyiscal mobile device or an emulator."
It should say:
"...to either a physical mobile device or an emulator."

Anonymous   
Printed
Page 88
Table 4-1

<IMG> the Category column IS NOW BLANK, instead of "Input"

Anonymous    Apr 01, 2004
Printed
Page 89
last paragraph (tip)

You never actually use the name of HTML server control shown in...

NOW READS:
You never actually use the name of HTML server controls shown in...

Anonymous    Apr 01, 2004
Printed
Page 164
VB.NET comments in box

"|" commented text follows

NOW READS:
' commented text follows

Anonymous    Apr 01, 2004
Printed
Page 167
3rd paragraph from bottom

"...renders with a bold font, as can be seen in Figure 5-17."

NOW READS:
"...renders with a bold font, as can be seen in Figure 5-16."

Anonymous    Apr 01, 2004
Printed
Page 192
1st paragraph of text

"...by clicking on the = and = navigation symbols..."

NOW READS:
"...by clicking on the < and > navigation symbols...".

Anonymous    Apr 01, 2004
Printed
Page 194
last 2 paragraphs

"...an extra column containing the = symbol is added to the left side of the calendar..."

NOW READS:
"...an extra column containing the > symbol is added to the left side of the calendar..."

AND
"...in addition to the week selection column, a = = symbol is added to the left of the day names row."

NOW READS:
"...in addition to the week selection column, a > > symbol is added to the left of the day names row."

Anonymous    Apr 01, 2004
Printed
Page 251
last paragraph

"When either Example 6-1 or Example 6-2 is run, the relevant using the code-behind pages from Example 6-3 or Example 6-4..."

NOW READS:
"When either Example 6-1 or Example 6-2 is run, using the code-behind pages from Example 6-3 or Example 6-4..."

Anonymous    Apr 01, 2004
Printed
Page 255
first paragraph

In the following sentence:

You can set and retrieve values of things in the state bag using the ViewState keyword, ...

ViewState is NOT a keyword but an (protected) attribute of the Page class.

Page 266 - Penultimate paragraph
Currently: Session state is stored in server memory ... the session state is not lost.
Should Be: By default, sesstion state is stored in server memory as part of the ASP.NET process. However, as will be shown shortly, it can be configured to be stored separately from the ASP.NET process, either on a separate state server or in a SQL Server database, in which case it will survive a crash or restart of the ASP.NET process.

Page 274 - [1/28/04] Penultimate paragraph
Currently: Session state is stored in server memory ... the session state is not lost.
Should Be: By default, sesstion state is stored in server memory as part of the ASP.NET process. However, using the the mode attribute of the sessionState tag in web.config, it can be configured to be stored separately from the ASP.NET process, either on a separate state server or in a SQL Server database, in which case it will survive a crash or restart of the ASP.NET process.

Anonymous   
Printed
Page 264
code snippet before last paragraph

Dim iCtr As Integer = CInt(Application("Counter"()

NOW READS:
Dim iCtr As Integer = CInt(Application("Counter"))

Anonymous    Apr 01, 2004
Printed
Page 271
8th paragraph (starting "rblSelectedIndexChanged")

"rblSelectedIndexChanged next uses a switch statement in C#..."

NOW READS:
"rbl_SelectedIndexChanged next uses a switch statement in C#..."

Anonymous    Apr 01, 2004
Printed
Page 295
Tip paragraph

Excess spaces before "book" in "...is covered in Jesse Liberty's book Programming C#..." HAVE BEEN DELETED.

Anonymous    Apr 01, 2004
Printed
Page 351
Example 8-8, ServerValidator method

Same problem as on page 348: as written, e.IsValid is never set to false.

Anonymous   
Printed
Page 365
1st line

"...the local counter variable chosen is incremented...". In this sentence, the word 'chosen' HAS BEEN REFORMATTED and now appears in normal body type.

Anonymous    Apr 01, 2004
Printed
Page 380
last paragraph

"It then sets dataGrid1's DataSource property to the bugs ArrayList object and calls BindGrid."

NOW READS:
"It then sets dataGrid1's DataSource property to the bugs ArrayList object and calls DataBind."

Anonymous    Apr 01, 2004
Printed
Page 395
last paragraph

"The following is the replacement DataGrid tag for the one shown in Example 10-2."

NOW READS:
"The following is the replacement DataGrid tag for the one shown in Example 10-3."

Anonymous    Apr 01, 2004
Printed
Page 398
2nd bullet item

"The ArrayList (bugList), which acts as the data source to the data grid"

NOW READS:
"The ArrayList (bugs), which acts as the data source to the data grid"

Anonymous    Apr 01, 2004
Printed
Page 443
5th text paragraph

"...which implements the IComparer class, as explained in the sidebar."

NOW READS:
"...which implements the IComparer class."

Anonymous    Apr 01, 2004
Printed
Page 443
last line

"...and to calltheDataBind method."

NOW READS;
"...and to call the DataBind method."

Anonymous    Apr 01, 2004
Printed
Page 461
1st paragrah of text

"There is also a managed provider for Oracle and on for ODBC-compliant databases."

NOW READS:
"There is also a managed provider for Oracle and one for ODBC-compliant databases."

Anonymous    Apr 01, 2004
Printed
Page 474-477
Example 11-7;

"B.NET code-behind page"

NOW READS:
"VB.NET code-behind page"

Anonymous    Apr 01, 2004
Printed
Page 481
4th paragraph

"To save the DataView in session state, you just create a "key"--506a string which will be used to identify your session state variable:"

NOW READS:
"To save the DataView in session state, you just create a "key"--a string which will be used to identify your session state variable:"

Anonymous    Apr 01, 2004
Printed
Page 483
Tip paragraph

The an extra blank line after "s2.Append(" HAS BEEN DELETED.

Anonymous    Apr 01, 2004
Printed
Page 504
2nd code snipper

The "new" keyword NOW APPEARS as a lowercase "N" in

ForeignKeyConstraint fk =
new ForeignKeyConstraint(
"FK_BugToPeople",PersonIDColumn,bugReporterColumn);

Anonymous    Apr 01, 2004
Printed
Page 521
2nd text line

"A value of 2 would be passed in as the @BugIDargument."

NOW READS:
"A value of 2 would be passed in as the @BugID argument."

Anonymous    Apr 01, 2004
Printed
Page 533
3rd paragraph

"Is it possible for one user's changes to overwrite the changes of another user."

NOW READS:
"It is possible for one user's changes to overwrite the changes of another user."

Anonymous    Apr 01, 2004
Printed
Page 547
3rd text paragraph

The text
"Notice that you are hardwiring the status (1 = open), the action (Bug Created) and the owner (6 = a person in QA)."
refers to owner number 6, but the code snippet directly above refers to owner number 1.
Since Example 12-3 also refers to owner 1, the text should be "(1 = the first user)".

Anonymous   
Printed
Page 579
2nd text paragraph

"...you will assign to the DataAdapters DeleteCommand property."

NOW READS:
"...you will assign to the DataAdapter's DeleteCommand property.

Anonymous    Apr 01, 2004