ASP Net Center.com
ASP Tutorials & Basics
Introduction
Variables & Arrays
Sub & Functions
If Statements
Case Statements
Loop Statements
Date Objects
Form Processing
Text File Objects
Database Access
Adding Record
Updating Record
Deleting Record
Virtual Includes
Cookies
E-mail
Server Variables
Creating Login Page

What is ASP?

ASP is acronym for Active Server Page.   It’s Server side script language developed by Microsoft.   When ASP file is request by the browser, the browser does not send the page back to the client browser instead its content is interpreted & processed by the server.  ASP is also script language that you combine with HTML document if your server supports ASP.  The default language is VBScript.  However, you can specify to use JavaScript or perlScript.   If you are building E-commerce page, ASP is your ideal language or one of the languages on your choice list.

Tools

In order to build ASP pages on your PC, first you need to install PWS [Microsoft Personal Web Server] or IIS [Internet Information Server] for the internet.   You can download PWS from Microsoft web site: here .   You can also learn how to set up here.  
Otherwise you need host a that provides ASP server.  see list of hosts.

Here is how to write hello world program in ASP:
<html>
<head>
<title>hello world program</title>
</head>
<body>
   <% Response.write(“Hello World”) %>
</body>
</html>

This program declares a variable and writes it:
<html>
<body>
<%
   dim h
   h="Hello World"
   response.write("Say: " & h)
%>
</body>
</html>

This program writes the current time:
<html>
<body>
It’s now <%=Time()%>
</body>
</html>

Variables & Arrays