Chapter 5. Understanding Visual Basic’s Variables and Operators

In this hour, we will cover

  • What a programming language is

  • What variables are and how to declare them

  • How to assign values to variables

  • What data types are and why they are important

  • Visual Basic’s operators and how to use them

  • Typing rules

As discussed earlier, ASP.NET web pages are composed of two portions: an HTML portion, which contains HTML markup and Web controls; and a source code portion, which contains the ASP.NET web page’s server-side source code. Using Visual Web Developer, you can write this source code section in one of two programming languages: Visual Basic or Visual C# (often referred to as just C#).

Most beginning developers find Visual Basic a much easier language to pick ...

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.