Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8
This is the forum to discuss the Wrox book Beginning ASP.NET 2.0 by Chris Hart, John Kauffman, David Sussman, Chris Ullman; ISBN: 9780764588501
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old September 3rd, 2006, 01:48 PM
Registered User
 
Join Date: Aug 2006
Location: , , .
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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:DropDownList>
    <asp:SqlDataSource ID="SqlDataSource3" runat="server"
        ConnectionString="<%$ ConnectionStrings:WroxUnited %>"
        SelectCommand="SELECT [FixtureID], (Opponents + ' - ' + CONVERT(varchar,
        FixtureDate, 6)) As FixtureCombo FROM [Fixtures] ORDER BY [FixtureDate]">
    </asp:SqlDataSource>
    <br />

    <asp:DataList ID="DataList1" runat="server" DataKeyField="PictureID"
        DataSourceID="SqlDataSource1" RepeatColumns="3" RepeatDirection="Horizontal">
        <ItemTemplate>
            FixtureID:
            <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 />
            &nbsp;
        </ItemTemplate>
    </asp:DataList><asp:SqlDataSource ID="SqlDataSource1" runat="server"
    ConnectionString="<%$ ConnectionStrings:WroxUnited %>"
        SelectCommand="SELECT [PictureID], [FixtureID], [UploadedByMemberName],
        [Notes], [PictureURL] FROM [Gallery] WHERE ([FixtureID] = @FixtureID)">
        <SelectParameters>
            <asp:ControlParameter ControlID="DropDownList1" DefaultValue="1" Name="FixtureID"
                PropertyName="SelectedValue" Type="Int32" />
        </SelectParameters>
    </asp:SqlDataSource>
</asp:Content>
"
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:
WroxUnited

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

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

should be:
WroxUnitedConnectionString
__________________________
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.

Regards
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.

  #2 (permalink)  
Old September 8th, 2006, 12:48 PM
Authorized User
 
Join Date: Aug 2006
Location: , , .
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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.

  #3 (permalink)  
Old September 8th, 2006, 02:13 PM
jminatel's Avatar
Wrox Staff
Points: 18,940, Level: 59
Points: 18,940, Level: 59 Points: 18,940, Level: 59 Points: 18,940, Level: 59
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: May 2003
Location: Indianapolis, IN, USA.
Posts: 1,945
Thanks: 73
Thanked 139 Times in 101 Posts
Default

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!
  #4 (permalink)  
Old September 27th, 2006, 10:37 AM
Registered User
 
Join Date: Aug 2006
Location: , , .
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

keep waiting....

  #5 (permalink)  
Old October 3rd, 2006, 02:36 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: Banbury, , United Kingdom.
Posts: 105
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to DanM
Default

Hiya,

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

Dan Maharry
Read the feed at http://feeds.feedburner.com/dansarchive
  #6 (permalink)  
Old October 3rd, 2006, 03:49 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: Banbury, , United Kingdom.
Posts: 105
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to DanM
Default

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
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 16 - Errors - Need Help Please CoopersWorld BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 0 June 14th, 2008 11:00 AM
Chapter 6 Try It Out errors Voltron ASP.NET 2.0 Basics 0 August 9th, 2006 01:42 AM
More on Chapter 7 DataList Try It Out errors VictorVictor BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 2 April 27th, 2006 12:26 PM
Chapter 4 Errors? DRAYKKO BOOK: Beginning Java 2 3 June 1st, 2004 07:47 AM



All times are GMT -4. The time now is 09:03 PM.


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