function Array ()
FUNCTION: Returns an array
Syntax:array (list)
ARGUMENTS: Characters, numbers can be
EXAMPLE: Dim myarray ()
for i = 1 to 7
Redim Preserve myarray (i)
myarray (i) = WeekdayName (i)
Next
%>
Result: An array
Dynamic
The ASP itself does not support dynamic inclusion files, and the current dynamic inclusion is through the FSO to merge the included files into the main file and then run. The following are also the common inclusion files in the form ,
server| Blog | link
A permanent link can be seen in the tail of many blog posts. This link is generally lasting, even if the blog program changed, you can use this link to access the original log, and will not find the situation of the page, which
Program | tips | Optimization This article will introduce you to four optimize the ASP application techniques.
1. Cache frequently used data in application or session objects
ASP's application and session objects provide a convenient container
asp.net
First, Introduction:
With themes we can easily change the style of controls and pages without having to modify our code and page files. Themes files are separately placed under 1 App_Themes folders and are completely separate from your
The registry after reading this you can use ASP to modify the registration form!
Have you heard of the famous WSH? It is the abbreviated form of Windows Script Host, a scripting instruction for Windows platform that is powerful enough to achieve its
Asp.net| Skills | request
Purpose, the remote server back to the HTML, parsing into the class, for the GridView, such as the provision of data sources
1. Post data to remote server
public int postdata (string URL, string data, out string info){info =
asp+|server|sqlserver| Solution | data | Problem existing problem:
1, all records on a table. No classification
2, when developing, because not to consider such a large amount of data. The query statement executes in the program, causing the slow
Asp.net| Tips | voting | show
A voting function module is to view the results of the poll, with a progress bar to show that the results of each poll can have a clear effect. Here are my methods, please do not hesitate to enlighten us:
1: Make a
sql| Security | security | statement
Take a look at this code, let's look at the main problems
Set up SQL statementsinsertstr= INSERT INTO UserInfo (name,password,email,phone,mobile,post,address)VALUES (' ";Insertstr + = This._name. Trim ();+ "``,``"
access| Solution | data | database
Written in front:
It's all because of XP. Personally think that XP excessive pursuit of security, and the specific functions can not be compensated for. Here's a look at this ASP example, I believe that people
Trojan Horse | site
Friends of the site has been hacked several times, and is always changed pages, let me help to see where the problem is. So I found that can find a Trojan horse to look for easy ASP Trojan Hunt, uploaded to the site to check ASP
dreamweaver| Program | User Registration
1, in the site to create a new file register.asp to do the registration page, Select the new project "ASP Javascript." Again, because the file conn.aspwas previously built and connected to the database, the
The network is actually read the registry, but if you can get the IP configuration of the machine and other information, later configure IIS is simple.
The following script reads out all available IP addresses, subnet masks, but provincial gateways
Asp.net| Architecture | Browsers let us start with a typical asp.net Web request's lifecycle. When the user enters a URL, clicks on a hyperlink or submits an HTML form (form) (a POST request, which is generally a GET request relative to the previous
Asp.net| Skills | regular
A regular expression matching result can be divided into several parts, which is the group.A match result is divided into groups in the form of (?), examples:public static void Main (){string s = "2005-2-21";Regex reg = new
techniques | Static ASP website program in the domestic application is very wide, but similar to im286.asp?id=20050307213811 such a URL is not conducive to the search engine, that is not in line with the friendly URL (urls-friendly) standards, Then
Tips | The following is a simple example, I want someone to input http://server/test-12314.html actually access is http://server/test.asp?id=12314. Then our matching expression should be/test-([0-9]*). HTML-corresponding format expression should
Response.Write (" ") on Error Resume Next Dim thisurl,thistext thisurl=request (" Thisurl ") ' Define file address (non-HTML format document)! If Thisurl= "then Response.Write (" Enter file address! first ") Response.End End If
Function
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