Wrox Programmer Forums
|
BOOK: Beginning ASP.NET 4 : in C# and VB
This is the forum to discuss the Wrox book Beginning ASP.NET 4: in C# and VB by Imar Spaanjaars; ISBN: 9780470502211
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 4 : in C# and VB section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 11th, 2011, 02:52 PM
Friend of Wrox
 
Join Date: Sep 2009
Posts: 165
Thanks: 5
Thanked 6 Times in 6 Posts
Default Possible Errors in book

Hi Imar,
I found some mistakes in book.

1. On Page No 169: However code will run fine but for sake of clarity I think it must be ANDALSO rather than just AND in VB.Net code snippet if you are using && in C#.

VB.NET
Dim success As Boolean = False
Dim loopCount As Integer = 0
While Not success And loopCount < 3
success = SendEmailMessage()
loopCount = loopCount + 1
End While

C#
bool success = false;
int loopCount = 0;
while (!success && loopCount < 3)
{
success = SendEmailMessage();
loopCount = loopCount + 1;
}



2. On Page No 344 (Note Section):
You write: "To make it easier to see
the error message in case something goes wrong, you can temporarily remove
the UpdatePanel from the page, or uncomment its closing and opening tags"

But I think word in bold should be comment

3. On Page No 436 under displaying and editing data with gridview section:
You write: the next Try It Out shows you how to you create a very simple data-driven web page

Text in bold should be either do you or simply to


Regards,
Jack
__________________
Jack: Founder, Developer & Owner Of JackAndGenieForever.Com

Last edited by jack_hilary; September 11th, 2011 at 03:12 PM..
 
Old September 12th, 2011, 11:26 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi Jack,

Will need to check with the book, but it looks like you're right with all three items. I'll send them to Wrox for inclusion in the errata list.

Thanks!

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
 
Old September 12th, 2011, 11:56 AM
Friend of Wrox
 
Join Date: Sep 2009
Posts: 165
Thanks: 5
Thanked 6 Times in 6 Posts
Default

You are most welcome...

In fact we all readers should be thankful to you that you are always there to help us. Keep going on.

Regards,

Jack
__________________
Jack: Founder, Developer & Owner Of JackAndGenieForever.Com
The Following User Says Thank You to jack_hilary For This Useful Post:
ronix (September 14th, 2011)





Similar Threads
Thread Thread Starter Forum Replies Last Post
errors in the chap1 of this book jianchi Wrox Book Feedback 1 October 10th, 2009 05:10 AM
Submitting errors within this book JakobH BOOK Beginning CSS: Cascading Style Sheets for Web Design, 2nd Ed; ISBN: 978-0-470-09697-0 4 July 13th, 2007 01:01 PM
Book Errors? zoltac007 BOOK: Beginning Visual Basic 2005 ISBN: 978-0-7645-7401-6 1 June 6th, 2006 06:42 AM
Errors in the book @ ch10 freezotic BOOK: Beginning Java 2 0 March 26th, 2004 04:54 PM





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