ASP component File Object
Currently, applications based on browser/server mode are more popular. When a user needs to transfer files to a server, one of the common methods is to run the FTP server and set the FTP default directory for each user to
First method: Manually register the DLL
This method is used from IIS 3.0 to IIS 4.0 and to other Web servers. It requires you to execute it on the command line, and go to the target containing the DLL.
Record, and enter:
:egsvr32 Component_name.dll
Building HTTP Components
Do-it-yourself, with plenty of clothing, here's how to build your own asphttp components.
Using the Winsock control, the following describes how to build a simple HTTP component.
Remember to select the Mswinsck.ocx control
'****************************************************************
' Script Compont Object Model
' Design for Active Server Pages
' Copyright Version 2.0
' Made by Ying Guang
' All Rights Reserved.
' ***************************************************
ASP Common functions
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 containing 7
Create ASP.net test page
Creating a test page is always a good way to access the SQL Server data tier and verify that input and output parameters are handled correctly. In fact, this is the only way to ensure that asp.net pages and components in
With the popularization of computer network, the B/s online examination system based on database has been widely applied, and the ASP.net (C #) +sql server (or access) is used as an example to explain how to develop the online examination
People who used to use ASP to develop Web applications must know how troublesome it is to debug Web applications. In ASP, debugging is painful and typically includes values that use the Response.Write () method to output variables. So ask yourself:
This article discusses how to improve the performance of asp.net applications from page, data access, string manipulation, and provides several test tools for detecting asp.net Web site performance.
Keyword asp.net application performance
First, the procedure function: realizes the paging for the repeater
Second, form design:
1. New asp.net Web application, named Repeater2, save path for Http://192.168.0.1/Repeater2 (note: The IP of the website on my machine is 192.168.0.1 's home
Asp. NET's user control
Brief introduction
Asp. NET's server-side controls make Web development work easier and more powerful. We have described how to use server-side controls in asp.net pages. But what if the server does not have the required
Problem background:
On-Hand KPI classification rating system, the page's Submit button is made with LinkButton or button. When a large number of users at the same time online access to the site, the application server CPU occupied 100% of the bad
To use IIS to set asp.net when an error occurs, whether it displays an error message, a custom message, or a native display of the error message and a remote display of custom information.
As shown above, if you set up in IIS, you must fill in
' This article provides the ASP string intercept function is the first to use the definition of string discriminant function to determine the length of the string and the Chinese and English, and then the characters after the interception of the
' Two simple ASP to determine the existence of a file or directory functions, in the ASP to do so as long as the use of FileSystemObject OK.function Isdir (Givepath)Dim realpath,path,num,fs,iSet fs = CreateObject
Method Two
Method Three
function Checkexp (PATRN, STRNG)
Dim regex, Match ' establishes the variable.
Set regex = new RegExp ' establishes a regular expression.
Regex.pattern = Patrn ' Set mode.
Step 1: Create a project and create a simple template page: TemplatePage.htm The code is as follows:Copy code simple example of generating static pages by Porschev $ Porschev [0] $ Page Title: $ Porschev [0] $ Name: $ Porschev [1] $ url: $
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