Category: ASP Net

  • ASP Syntax

    All our examples shows the ASP code in red. This makes it easier for you to understand how ASP works. ASP Uses VBScript The default scripting language in ASP is VBScript. A scripting language is a lightweight programming language. VBScript is a light version of Microsoft’s Visual Basic. ASP Files ASP files can be ordinary…

  • ASP Tutorial

    ASP is an old (but still powerful) tool for making dynamic Web pages. ASP is a technology (much like PHP) for executing scripts on a web server. In this tutorial you will learn all you need to know about ASP. Easy Learning with “Show Example” This ASP tutorial contains hundreds of examples. Our “Show Example”…

  • ASP.NET Razor – VB Logic Conditions

    The If Condition VB lets you execute code based on conditions. To test a condition you use the if statement. The if statement returns true or false, based on your test: Example The Else Condition An if statement can include an else condition. The else condition defines the code to be executed if the condition is false.…

  • ASP.NET Razor – VB Loops and Arrays

    For Loops If you need to run the same statements repeatedly, you can program a loop. If you know how many times you want to loop, you can use a for loop. This kind of loop is especially useful for counting up or counting down: Example For Each Loops If you work with a collection or…

  • ASP.NET Razor – VB Variables

    Variables Variables are used to store data. The name of a variable must begin with an alphabetic character and cannot contain whitespace or reserved characters. A variable can be of a specific type, indicating the kind of data it stores. String variables store string values (“Welcome to W3Schools”), integer variables store number values (103), date…

  • ASP.NET Razor – C# Logic Conditions

    The If Condition C# lets you execute code based on conditions. To test a condition you use an if statement. The if statement returns true or false, based on your test: Example The Else Condition An if statement can include an else condition. The else condition defines the code to be executed if the condition is false.…

  • ASP.NET Razor – C# Loops and Arrays

    For Loops If you need to run the same statements repeatedly, you can program a loop. If you know how many times you want to loop, you can use a for loop. This kind of loop is especially useful for counting up or counting down: Example For Each Loops If you work with a collection or…

  • ASP.NET Razor – C# Variables

    Variables Variables are used to store data. The name of a variable must begin with an alphabetic character and cannot contain whitespace or reserved characters. A variable can be of a specific type, indicating the kind of data it stores. String variables store string values (“Welcome to W3Schools”), integer variables store number values (103), date…

  • ASP.NET Razor – C# and VB Code Syntax

    Main Razor Syntax Rules for C# C# Example Main Razor Syntax Rules for VB Example How Does it Work? Razor is a simple programming syntax for embedding server code in web pages. Razor syntax is based on the ASP.NET framework, the part of the Microsoft.NET Framework that’s specifically designed for creating web applications.   The…

  • ASP.NET Razor – Markup

    What is Razor? Razor is a markup syntax that lets you embed server-based code (Visual Basic and C#) into web pages. Server-based code can create dynamic web content on the fly, while a web page is written to the browser. When a web page is called, the server executes the server-based code inside the page…