Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 3.5 > ASP.NET 3.5 Basics
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
ASP.NET 3.5 Basics If you are new to ASP or ASP.NET programming with version 3.5, this is the forum to begin asking questions. Please also see the Visual Web Developer 2008 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 3.5 Basics 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 May 6th, 2008, 10:12 PM
Registered User
 
Join Date: May 2008
Location: Midland, Texas, USA.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to xtiano77
Default Problem with Chapter 2 First Page

Hello.

I am really interested in learning ASP.NET and eventually setting up my own websites and maybe one for my office. So far I have become proficient with XHTML and CSS, but I am having a bit of trouble following along creating the first page in chapter 2.

I typed "Label1.Text = "Hello world; the time is now " & DateTime.Now.ToString()" like the book says, but I cannot get the page to come up. The error list tells me that there is an error with "Label1" not being declared. Can anyone help me with this? Another question if I may. Should I pick up a book and learn Visual Basic and or C# before trying this book or is it sufficient with just XHTML and CSS? Thanks in advance for your help with question.

MV
  #2 (permalink)  
Old May 7th, 2008, 01:00 AM
Imar's Avatar
Wrox Author
Points: 72,073, Level: 100
Points: 72,073, Level: 100 Points: 72,073, Level: 100 Points: 72,073, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

Hi there,

What book is this about? You posted in a generic ASP.NET book, but you're better off posting this in a book specific forum. If it's about Beginning ASP.NET 3.5, would you mind posting the question again in its forum here: http://p2p.wrox.com/forum.asp?FORUM_ID=386

That makes it easier for everyone (including future readers) to keep track of posts.

That said, take a look at the Markup section of the page. Do you have a Label control in there? Does it have the same casing as Label1?

If that doesn't help, can you post the relevant code for the page and its code behind?

With regards to programming: the Beginning book has chapter 5 devoted to programming in C# and VB. Obviously, a single chapter is not enough to make you an all-round chapter, so it's worth looking into other programming books as well as they can provide you with a lot more detail. Beginning C# 2008 or Beginning VB 2008 would be an excellent start.

Imar
---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of Beginning ASP.NET 3.5 : in C# and VB, ASP.NET 2.0 Instant Results and Dreamweaver MX 2004
Want to be my colleague? Then check out this post.
 


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 3 page 95 nead23 BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 2 March 26th, 2009 09:28 AM
Chapter 9, page 304 Again AspNetGuy BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 3 June 15th, 2008 02:57 PM
Chapter 7 - page 212 asplundo BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 3 February 2nd, 2008 06:56 AM
Chapter 4 - page 170 stzd8 BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 0 November 5th, 2006 12:04 AM
Page 352 (Chapter 11) IDisposable Problem sosborne BOOK: Beginning Visual Basic 2005 ISBN: 978-0-7645-7401-6 1 August 18th, 2006 05:12 PM



All times are GMT -4. The time now is 09:41 AM.


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