Product Overview

Hooray! A new and improved edition of this book is now available!

The 2nd edition of Build Your Own ASP.NET 2.0 Web Site Using C# & VB, 2nd Edition was a very fine book but we replaced it with a new and updated edition in October 2008.

Build Your Own ASP.NET 2.0 Web Site Using C# & VB, 2nd Edition

Corrections & Typos

Find a mistake not listed here? Contact us to let us know!

Got the 1st edition? See corrections to the 1st edition here.

Second Edition: November 2006

  • p. 35, Figure 2.2

    The labels for "Server Side Comment" and "ASP.NET Control" are the wrong way around.

  • p. 43, second paragraph

    The HTML <form runat="server">> has an extra '>'. It should read <form runat="server">

  • p. 69, table 3.2

    The equals comparison operators for VB and C# are reversed — VB should be listed as =, and C# as ==

  • p. 79, Figure 3.6

    Rayne's width is listed as 30 pounds; it should instead read 14 inches.

  • p. 81, last paragraph

    "are special kinds of method are that used" should be "are special kinds of methods that are used".

  • p. 102, last sentence

    The reference to "Appendix B" should read "Appendix A".

  • p. 109 code listings

    The second line in the VB code should read:

    Dim myButton As HtmlButton = New HtmlButton()

    Similarly, the C# code should read:

    HtmlButton myButton = new HtmlButton();
  • p. 115-116

    The text incorrectly states that we're using a BulletedList control, and the screenshot depicts an unordered list. However, as the code archive and code samples in the book reflect, we're actually using a Label control.

  • p. 181-182, code listings

    The timeout value should be 15.

  • p. 187, Figure 5.33

    The screenshot shows the addition of a new item to the App_Data folder, not the root folder as described in the text.

  • p. 188, code listing

    url="HelpDesk.aspx" should be url="~/HelpDesk.aspx"

  • p. 267, Important

    The database table property name is IDENTITY_INSERT, not INDENTITY_INSERT

  • p. 274, table 7.7

    The title of the first column should be "DepartmentID"

  • p. 297, 2nd code listing

    The code should read:

    SELECT Employees.Name, Employees.Username FROM Employees

  • p. 327, code listing

    @NewEmployeeiD should be @NewEmployeeID.

  • p. 346, 4th paragraph

    conn.Parameters should be comm.Parameters

  • p. 389, C# code listing

    The code to add command parameters should be:

    // Add command parameters
    comm.Parameters.Add("@EmployeeID", System.Data.SqlDbType.Int);
  • p. 395, second code listing

    This code listing is C# code; it is incorrectly labeled as Visual Basic.

  • p. 397, second code listing

    The @Description parameter declaration is missing a field size - it should read @Description nvarchar(50).

  • p. 456, paragraph 3

    Add New Column… should be Add New Field…

Second Edition
February 2005 - first print


New Features

So, Why Move to ASP.NET 2.0?

Master Pages
Master Pages allow you to define a template which can be used to create many pages quickly and easily. Master Pages can later be edited to give your site a new look with a minimum of fuss.
Login & LoginStatus
Controls like Login and LoginStatus alleviate many of the headaches of creating your own authentication system, and they can be heavily customised to suit your needs.
GridView & DetailsView
The new data controls GridView and DetailsView offer much more power and flexibility than the old DataGrid control.
SiteMapDataPath, SiteMapDataSource & TreeView
New controls like the SiteMapDataPath, SiteMapDataSource and TreeView make building a web site navigation system a snap.

SitePoint Books

  • advocate best practice techniques
  • lead you through practical examples
  • provide working code for your web site
  • make learning easy and fun

100% Money Back Guarantee