Author: scholar
Through the first two articles, I believe you have gained a basic idea and an overall impression on ASP dynamic website design. Starting from the beginning of this article, I will start with the use of the scripting language and start to explore the real mysteries of ASP dynamic website design from a simple perspective.
After the second article was published, many friends sent me "Mei Er", hoping to see the third, fourth, and even fourth sections of this article as soon as possible ...... Or even a friend anxiously asked me to send him the full text of ASP. I am excited by seeing so many like-minded friends. Although ASP was launched two years ago, it was not until this year that it received the attention of Chinese people for its flexible and convenient development process and good WEB database connection functions, however, due to the lack of detailed teaching materials on asp web application development in China, the majority of WEB developers in China are still in the closed-door E-text stage, including the author himself. Because of this, the author has read the idea of writing articles. Only after receiving the strong support from Mr. Weng Bin from Chinabyte network college can you see this article.
The author hopes that this article will help WEB developers and enthusiasts to participate in ASP learning and communication, to meet the needs of readers at different levels, the author decided to start with the compilation of the most basic scripting language, next, I will explain the ASP built-in objects, ActiveX components, and examples of developing WEB applications using ASP. I believe that through continuous learning for a period of time, in less than a few months, you will be able to develop your own dynamic website with ease. Next, let's take a look at some basic knowledge of using the scripting language (mainly VBScript) in ASP.
Before learning the scripting language, you should understand some simple concepts-variables and processes. A variable is a named storage location in the computer memory, which contains numbers, strings, and other data. It makes it easy for users to understand the name of a script operation, it provides users with a way to store, retrieve and operate data. A program is composed of one or more processes. In VBScript, a process is a "command block". Generally, a process, such as Sub, is only used for simple data processing.
In VBScript, variables do not need to be declared strictly,
For example: <% Mystring = "This is my string" %>
However, even if you do not need to declare variables before using them, you should also develop a good habit of declaring variables during programming, because this will help prevent errors. Declaring a variable indicates that the script engine has a variable with a specific name, so that the variable can be referenced in the script. To declare a variable in VBScript, you can use the "Dim" statement as follows:
<Script language = "VBScript">
<! --
Option Explicit requires that all variables be declared in the script
Dim Mystring
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service