It does not need to install any form of client, compatible with the vast majority of mainstream browsers, support ASP.net, ASP, ColdFusion, PHP, Java, Active-foxpro, Lasso, Perl, Ython and other programming environments.
Official website
Recommended two text: 1, Alipay purchase process 2, Alipay seller processAlipay interface to provide the latest ASP, ASP.net, PHP, JSP, such as the current network of the most popular source code package files, programmers can download after the
File upload simple implementation is very easy, but want higher requirements, such as uploading files through Ajax, upload multiple files at a time, file size, etc., this hole is not very easy to fill (for beginners). So here I'm going to implement
Asp. NET provides an excellent event-driven programming model that allows developers to simplify the overall design of the application, but this also creates some of its inherent problems, for example, using the traditional ASP, we can easily
It is worth collecting the ASP.net basic study notes, share to everybody.
1. Introduction browser-Server B/S browsing
Browser and server interaction between the formation of Internet B/S mode
For HTML upload server to Server Software (IIS) server
Copy Code code as follows:
' How many days in total are there in a year?
Function dayofyear (ByVal y)
DayOfYear = DatePart ("y",y& "-12-31")
End Function5
' Example: Response.Write DayOfYear (2012)
The syntax of ASP
Core code:
Copy Code code as follows:
Set Fso=server.createobject ("Scripting.FileSystemObject")
If FSO. FileExists (Server.MapPath ("Log.txt")) =true Then
Set FIN=FSO. OpenTextFile (Server.MapPath ("Log.txt"))
Temp=fin.readall
HTML file Tags
Text typesetting markers
Original Text Style
Inward Indent
Title
, Bold
,, Italic
Bottom Line
Delete Line
text flashes
Large Fonts
Small Fonts
text superscript
text subscript
Default font settings
Change font
Two common ways to generate files in ASP are to generate files using ADODB.stream and generate files using Scripting.FileSystemObject
1, Scripting.FileSystemObject Generation file method:
Copy Code code as follows:
Set fso =
In the previous series, we introduced the basic concepts and typical applications of view state and control state, from which you can discover the importance of view state and control state for custom server control implementations. This article
System learning ASP, is first from the ASP's several large built-in objects started.
Generally called the five main objects:
Request, Response, Server, session, Application
Today, let's look at the request object.
Of course, has not been mentioned
In the era of ASP, in order to avoid frequent duplication of labor, a number of similar functions of the region or code, often made a file, and then through the connection (direct connection or virtual connection) method into the ASP Web page file,
Copy Code code as follows:
'//hittime Date: Get last access time
'//hits Digital: Get the total amount of browsing
'//hitsday Digital: Get today's browsing volume
'//hitsweeks digital: Get this week's browsing volume
'//hitmonths Digital:
Originally running the normal ASP page, today suddenly prompted:
Copy Code code as follows:
Microsoft VBScript run-time error ' 800a01a8 '
Missing object: ' Xmldoc.documentelement '
/work/menu.asp, Line 80
Find the
Today encountered a problem, an ASP site generated static page times error:Microsoft VBScript run-time error ' 800a01ad 'ActiveX part cannot create object: ' Scripting.FileSystemObject 'In fact, this problem is more common, the error is due to the
Run ASP + Access Web site on the 64bit Win2008
1, install ASP.
Control Panel \ Program \ Turn on or off Windows features \ roles: Web server (IIS) \ Add role service
Select ASP to determine
2, create a Web site
3, set the application pool where
We encounter countless forms on the Internet every day, and we see that most of them do not restrict users from submitting the same table multiple times
Single. The lack of such restrictions can sometimes produce unexpected results, such as
The site configuration is typically used to save some settings for the site, writing in a configuration file is more appropriate than writing in a database, because the profile itself has a cache, and as the site starts reading into the cache, the
The example of this article describes the Asp.net+xml+flash implementation of the picture display effect. Share to everyone for your reference, specific as follows:
First step: Introduce namespaces first: (in VS08 environment)
Using System;
In large ASP projects, many pages involve page-flipping functions. If each page writes a flip-through program, this kind of work reduces the working efficiency, also is not advantageous to the project modularization, cannot make the code reuse.
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