Chapter 8. ASP.NET Web Controls for Displaying Text

In this hour, we will cover

  • Displaying text using the Literal and Label Web controls

  • Using the Literal Web control

  • Using the Label Web control

  • Understanding the differences between the Literal and Label Web controls

  • Altering the appearance of the Label Web control

In the past three hours we examined the syntax and semantics for Visual Basic, the programming language we’ll be using in the source code portion of our ASP.NET web pages. Prior to these three hours, we discussed ASP.NET fundamentals, such as how each ASP.NET web page comprises a source code portion and an HTML portion. Recall that the HTML portion can contain HTML markup as well as Web controls.

Web controls, like regular HTML markup, are ...

Get Sams Teach Yourself ASP.NET 2.0 in 24 Hours now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.