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 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.