Wrox Programmer Forums
|
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 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 May 16th, 2008, 10:13 AM
Authorized User
 
Join Date: Sep 2007
Posts: 48
Thanks: 0
Thanked 0 Times in 0 Posts
Default VB Ch10 Exercises p383

I don't understand Q1.
To qualify, I understand everything in the first sentence, it's the 2nd sentence - what's it asking for? If I run the page without a code behind file, the contents of the label are displayed anyway. What do I need code for?
Looking at App A p638 for clues, it says "Create a class called CodeBehind.cs." Whoa! This was never mentioned in Ch10! Why doesn't it say "Create a file called CodeBehind.aspx.vb?"
And what about adding code to the Page Load event in CodeBehind.aspx? That can't be right either.

Can anyone clarify things for a logical thinker and ASP.NET 2.0 beginner?

And then there's Q2. I understand that there has to be some code that says "if there's a picture URL available, display it" but I don't know where to start to incorporate that into the newly created WroxUnited NewsControl site. And can anyone explain to me how the solution on p639 has been arrived at?

Richard
Rugeley, UK
WinXP Pro SP2
VBW Express + SQL Server 2005 Express
__________________
Richard
Rugeley, UK
WinXP Pro SP2
VBW Express + SQL Server 2005 Express
 
Old May 31st, 2008, 08:02 AM
Registered User
 
Join Date: Jun 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Rich,

   This thread describes the problem:

http://p2p.wrox.com/topic.asp?TOPIC_...rchTerms=ch,10

   Look at the last post on the thread. I think the only change required is to make the User Instance=True instead of User Instance=False in the connection string in the web.config file.

John






Similar Threads
Thread Thread Starter Forum Replies Last Post
VB Ch10 ObjectDataSource Rich57 BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 0 May 16th, 2008 05:40 AM
vb.net 2nd ed ch10 Adv Obj Orien Tech frresh BOOK: Beginning VB.NET 2nd Edition/Beginning VB.NET 2003 3 April 2nd, 2005 06:08 AM
Programming Exercises [Beginning VB .NET] acolburn BOOK: Beginning VB.NET 2nd Edition/Beginning VB.NET 2003 2 August 12th, 2004 12:01 PM
Solutions to exercises forBeg ASP1.0 with VB triscrg ASP.NET 1.0 and 1.1 Basics 0 June 23rd, 2003 09:17 AM





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