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.