p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 (http://p2p.wrox.com/forumdisplay.php?f=228)
-   -   More Errors in chapter 7..... (http://p2p.wrox.com/showthread.php?t=47328)

rollercoaster September 3rd, 2006 01:48 PM

More Errors in chapter 7.....
Book: Beginning ASP.NET 2.0 (VB) Edition-2006 - Chapter 7

Repost from http://p2p.wrox.com/topic.asp?TOPIC_...01&whichpage=2

Well 1st of all many thanks to victorvictor for pointing out the errata till page 239.
It has been smooth cruising because of you till page 239.

And in reply to the topic of this thread i will say... say that again a million times..

Ok now to my fury...
I somehow fought my way thru to page 253. Here i got stuck bad.
I will have to say... Did the writer ask his/her plumber to write this 'try it out'?

Everything is fine till step 6.
At Page 253, Step 7 the author asks to copy gallery-all.asps to gallery.aspx. He forgets that at Page 237, Step 1, Line 1 he has already made the user create a gallery.aspx. Please change this to '[u]replace</u> the file gallery.aspx'

At Page 255, Step 9, Line 1 there is no 'DataSourceControl1' but a 'SQLDataSource1' as created in earlier try it outs.

Now the biggest problem.. The code that is on Pages 255 thru 257 is completely off the chart and [u]WRONG!!!</u>
It shows controls like Gridview and Detailsview which [u]do not exist</u> on this page 'gallery.aspx'

The correct code should be similer to

"<%@ Page Language="VB" MasterPageFile="~/site.master" AutoEventWireup="false"
         CodeFile="Gallery.aspx.vb" Inherits="Gallery" title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" Runat="Server">
    <asp:DropDownList ID="DropDownList1" runat="server"
            AutoPostBack="True" DataSourceID="SqlDataSource3"
            DataTextField="FixtureCombo" DataValueField="FixtureID">
    <asp:SqlDataSource ID="SqlDataSource3" runat="server"
        ConnectionString="<%$ ConnectionStrings:WroxUnited %>"
        SelectCommand="SELECT [FixtureID], (Opponents + ' - ' + CONVERT(varchar,
        FixtureDate, 6)) As FixtureCombo FROM [Fixtures] ORDER BY [FixtureDate]">
    <br />

    <asp:DataList ID="DataList1" runat="server" DataKeyField="PictureID"
        DataSourceID="SqlDataSource1" RepeatColumns="3" RepeatDirection="Horizontal">
            <asp:Label ID="FixtureIDLabel" runat="server" Text='<%# Eval("FixtureID") %>' />
            <br />
            <asp:Image ID="Image1" runat="server" ImageUrl='<%# Eval("PictureURL", "~/Images/{0}") %>' />
            <br />
            <asp:Label ID="NotesLabel" runat="server" Text='<%# Eval("Notes") %>' /><br />
            Uploaded By Our Member:
            <asp:Label ID="UploadedByMemberNameLabel" runat="server"
            Text='<%# Eval("UploadedByMemberName") %>' /><br />
            <br />
    </asp:DataList><asp:SqlDataSource ID="SqlDataSource1" runat="server"
    ConnectionString="<%$ ConnectionStrings:WroxUnited %>"
        SelectCommand="SELECT [PictureID], [FixtureID], [UploadedByMemberName],
        [Notes], [PictureURL] FROM [Gallery] WHERE ([FixtureID] = @FixtureID)">
            <asp:ControlParameter ControlID="DropDownList1" DefaultValue="1" Name="FixtureID"
                PropertyName="SelectedValue" Type="Int32" />
NOTE: This code is after executing step 10 on page 257.

And about the Screenshots. i wont even comment. they are completely out of sync.


Issue about the errata mentioned on this books' errata webpage and as pointed out by victor
Page 222
Error in Code
Try It Out step 6, 2nd line of code near the end of the line:

should be:
Page 223 Error in Code
Try It Out step 7, 2nd line of code near the end of the line:

should be:
Page 223 Error in Code
under the heading "Details of the Connection string and Provider,"
in the first shaded code block, 3rd line:

should be:
Page 237 Error in text
In step 3,the last sentence should say:
Use the WroxUnitedConnectionString as the connection for the data.

This is wrong. If u change the name of the connection string to 'WroxUnitedConnectionString' the whole chapter goes out of sync. A lot of places after this page use the conneciton string 'WroxUnited' as written correctly in the book but presently considered errata.

[u]The error is in the screenshot(Figure 7-10) on the same page</u>. It should show 'WroxUnited' insted of 'WroxUnitedConnectionString' in the textbox. That would clear all the above errata in errata.

Issue related to the below errata on errata webpage of this book
Page 237 Error in Text
Try it out step 1, the next to last line:
folder named Images

should be:
folder named MatchImages

The book is correct(although the language is complicated in this step) and u just put in the errara without checking? [u]How in-different can u get after digesting the readers money?</u>

There is a reference to the Images folder but it is not errata though completely unncecessary to the context. If at all u should have deleted the last sentence completely of step 1 on page 237.

In the end I would like to say that may be the information above is incorrect in some or the other manner. So insted of just marking the errata please check thoroughly. There are many more of these DAMN errata but I do not have the time or energy to do the editors'/writer's work. I hope u forward this post in its completeness to the concerned people, and learn something on the way.

Vaibhav Garg

PS: Wrox should provide a updated pdf file for this chapter because there are too many errors. It would help future readers [u]very</u> much.

tbroom September 8th, 2006 12:48 PM

There also needs to be a new down load for this chapter which I have been waiting for since I put in a notification (08/30/2006) that this chapter 07 had problems. I have no heard back from neither Wrox nor Wiley on this issue it must not be issue for them.

jminatel September 8th, 2006 02:13 PM

I'm waiting for the author to work through these issues and respond.

Jim Minatel
Senior Acquisitions Editor
Wiley Technology Publishing
WROX Press
Blog: http://wroxblog.typepad.com/
Jim's Book of the week: No book this week - Donate to the Red Cross!

rollercoaster September 27th, 2006 10:37 AM

keep waiting....

DanM October 3rd, 2006 02:36 AM


I've got the permission from Jim to act in the authors stead, so I'll get this errata and hopefully those in chapter 8 updated in the next few days. I'll try and get the C7 and C8 downloads updated as well or else I'll put them up on my own site in case you need them.


Dan Maharry
Read the feed at http://feeds.feedburner.com/dansarchive

DanM October 3rd, 2006 03:49 PM

Hi there,

I've compiled a complete list of all the errata for Chapter 7 in the VB Edition of the book, and submitted them along with new start and end code for Chapter 7 to Wrox for inclusion in the errata pages \ downloads. For those who would rather not wait, you can download the list and code from http://www.hmobius.com/downloads/C7VBErrata.zip. The file is just over 1MB.

Thanks, Dan

Dan Maharry
Read the feed at http://feeds.feedburner.com/dansarchive

All times are GMT -4. The time now is 05:53 AM.

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