Chapter 5. Understanding Visual Basic’s Variables and Operators

<feature><title></title>

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

</feature>

As discussed earlier, ASP.NET web pages are composed of two portions: an HTML portion, which contains HTML and Web controls; and a source code portion, which contains the ASP.NET web page’s server-side code. You can write the source code for an ASP.NET page 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 ...

Get Sams Teach Yourself ASP.NET 3.5 in 24 Hours, Complete Starter Kit now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.