Home>Network programming tutorial> ASP tutorial
All ASP tutorial ASP tutorial ASP.NET tutorial PHP tutorial JSP tutorial C#/CSHARP tutorial XML tutorial Ajax tutorial Perl tutorial Shell tutorial Visual Basic tutorial Delphi tutorial Mobile development tutorial C/C++ tutorial Java tutorial J2EE/J2ME Software engineering
ASP tutorial
  • Two methods to delete data in batches under ASP

    Two methods to delete data in batches under ASP

    There are two ways to delete data in batches under ASP, which also include the function of deleting attachments. Method 1: Copy the code as follows: id=request.form(checkbox)id=Split(id,,)shu=0for i=0 to UBound(id)sql=select * f
    2025-01-26
  • Refined class for ASP operation Xml, including sample code

    Refined class for ASP operation Xml, including sample code

    I wrote a refined class for Asp to operate Xml. There are examples. Save it as App.xml and put it in the same directory as the asp file! Copy the code as follows:<?xml version=1.0 encoding=utf-8?><Root><About><Version> 1.
    2025-01-26
  • asp detects whether it is a Chinese character function

    asp detects whether it is a Chinese character function

    Detect whether it is a Chinese character <%**************************** Function: CheckChinese(strng) Parameter: strng, character to be verified Description: Check whether it is a Chinese character. Return value: true for Chinese, otherwise false. Exam
    2025-01-26
  • Basic knowledge of Server XMLHTTP (Server XMLHTTP in ASP)

    Basic knowledge of Server XMLHTTP (Server XMLHTTP in ASP)

    Ajax has been very popular in recent years, and the essence of Ajax is XMLHttpRequest, which is the use of client-side XMLHttpRequest objects. Compared with Ajax, server-side XMLHTTP uses the XMLHttpRequest object on the server side. Although, I am servin
    2025-01-25
  • Summary of the importance of codepage that you need to know to prevent Chinese garbled characters in website development

    Summary of the importance of codepage that you need to know to prevent Chinese garbled characters in website development

    I have been studying UTF-8 encoding for the past few days and I am so confused. I will discuss my opinions with you. Welcome to approve. The following are my thoughts. If there is anything wrong, please feel free to enlighten me and help me point it out.
    2025-01-25
  • The ultimate defense against SQL injection attacks

    The ultimate defense against SQL injection attacks

    In the previous article, we have already talked about the essence of SQL injection attack vulnerabilities being caused by improper coding by programmers. Now we will continue to talk about how to code correctly so as not to be attacked by SQL injection. B
    2025-01-25
  • ASP code to implement direct file downloading

    ASP code to implement direct file downloading

    When linking documents in IE, if it encounters a document supported by OLE, IE will automatically call the corresponding program to open it. Sometimes this function is not what we need, although we can remind the user to right-click the mouse-->save ta
    2025-01-25
  • Object-oriented classes in ASP

    Object-oriented classes in ASP

    Now I plan to re-modify and optimize the report system I built for the company in my sophomore year. It uses ASP. To use object-oriented, you must have classes. Fortunately, VBS supports copying the code. The code is as follows: <%class MyClassDim var.
    2025-01-25
  • asp text box line wrap display code

    asp text box line wrap display code

    When calling data, just replace the newline mark of the database with setting it to support HTML when calling the foreground. Friends who submit data through textarea can refer to it. The copy code code is as follows:<%function CHTMLEncode(fString)fStr
    2025-01-25
  • Several commonly used sorting algorithms under asp

    Several commonly used sorting algorithms under asp

    You may need to sort some data under asp. The following are some commonly used methods under asp<%Dim aDataaData = Array(3,2,4,1,6,0)Call ResponseArray(aData, original order)Call ResponseArray(
    2025-01-25
  • Introduction to Asp's Cookie Collection

    Introduction to Asp's Cookie Collection

    Cookie attributes: 1. ExpiresAbsolute attribute This attribute can be assigned a date, after which the cookie can no longer be used. Cookies can be deleted by assigning an expiration date to the Expires attribute. For example: <%Response.cookies(passt
    2025-01-25
  • Use asp to automatically parse image addresses in web pages

    Use asp to automatically parse image addresses in web pages

    1. Get the address of the image on the original page. <%function PicStr(str)Set objRegExp = New Regexp Set configuration object objRegExp.IgnoreCase = True Ignore case objRegExp.Global =
    2025-01-25
  • A little trick to use for loop in asp

    A little trick to use for loop in asp

    This article is mainly to share a little trick on the for loop in ASP. I really don’t pay attention to it. I hope friends who know ASP can refer to the following code. It is correct and the most common way to write it: Copy the code as follows: <% dim
    2025-01-25
  • Several methods for ASP to connect to Access database

    Several methods for ASP to connect to Access database

    A large part of the learning program requires connection operations with the database. Here is a brief summary of some codes for asp connection access for the convenience of friends who need it. 1. Compared with older environments, it is recommended to us
    2025-01-25
  • UTF-8 file cache implementation code implemented under asp pseudo-static situation

    UTF-8 file cache implementation code implemented under asp pseudo-static situation

    This program reduces database reads by using ASP's FSO function. After testing, it can reduce server load by 90%. The page access speed is basically the same as that of static pages. Copy the code as follows:<%@LANGUAGE=VBSCRIPT CODEPAGE=65001%>
    2025-01-25