Regularly run the ASP program code

Preface It is often hoped that at a specific time, a certain ASP program can be activated for a specific job, such as sending e-mails and sorting data. Method 1. You can use the aspexe component. 2. You can use wsh to handle the problem.

Simple Example of ASP + Ajax implementation without refreshing comments

Dim curpage Curpage = CINT (Request ("page ")) If curpage = empty or curpage Curpage = 1 End if Response. contenttype = "application/XML" Response. charset = "gb2312" Response. expires = 0 Response. Write (" ") Dim RS and SQL 'define database

More accurate ASP Bubble Sorting

Searched online Code The same is true. Function sort (ary) Dim keepchecking, I, firstvalue, secondvalue Keepchecking = true Do until keepchecking = false Keepchecking = false For I = 0 to ubound (ary) If I = ubound (ary) Then exit If ary (I)> ary

How to use ASP stored procedures

1. Using the command object and parameter object to pass parameters this section mainly uses the Microsoft SQL Server7.0 database, first establishing a connection file adosql7.asp for backup, which will not be described in detail later. %

Using execute in ASP to dynamically include files

Abstract: This article describes how to dynamically include ASP files in ASP and Make ASP classes instantiated. In ASP, include file/virtual is the priority scriptCodeTherefore, you cannot use include to dynamically include ASP files. We can use

Remove the IFRAME trojan in the webpage-taote ASP Trojan Scanner

Added IFRAME and script checks to restore a large number of IFRAME web pages. This prevents manual deletion. Virus_lib.asp adds IFRAME. The script control parameters are: Const removeiframe = true' check IFRAMEConst iframekey = "3322" 'iframe

Scope of asp cint clng and solutions to prevent CINT and clng Overflow

First, we need to understand CINT range:-32,768 to 32,767.The range of clng is-2,147,483,648 to 2,147,483,647. Meaning of CINT and clng: You can forcibly convert an expression to a data type. CINT and clng: CINT integer-32,768 to 32,767,

Number of rows in a loop under ASP

Set rs = server. Createobject ("ADODB. recordset ") SQL = "select * from friend order by ID DESC" Rs. Open SQL, Conn, 1 I = 1 Do while not Rs. EOF %> " target = "_ blank"> "class =" framed "width =" 88 "Height =" 31 "alt =" "/> If I

Implementation of the cache service in Asp.net SAF page 1/5

CopyCode The Code is as follows: protected void page_load (Object sender, eventargs E) { Webinfo info = new webinfo (); Response. Write ("execution result with static:" + webinfo. A + " "); Response. Write ("no static execution result:" + info. B );

Quick query of HTML tags and ASP Functions

HTML file tag Text typographical mark original text style inwards title, bold, , Italic bottom line strikethrough text flashing large font small font text tagging text subscript default font settings change font settings Menu tag option menu

Setting and reading methods for ASP. Net global variables

This document describes how to use global variables in two ASP. Net projects. The web. config file and the Gloab file. Note the following: Method 1: web. config file-- Settings:In the web. the keyword key is added to the config file through the

Asp + Rss reader page 1/2

Asp + Rss reader CreationTransferred from Lingyun's BLOGI just did a test here. You can use it to call the latest post on your site to facilitate user subscription.The code for displaying the page of the RSS reader is as follows: Copy codeThe Code

Four methods and sample code for reading XML file information in ASP. NET

Method 1: Use the XML Control XML method 1 Method 2: Use DOM technology method 2 of XML reading Method 3: Use a DataSet object XML reading method 3 Method 4: Read data by text XML reading method 4

How to upload large files in asp.net

Recently, I am working on the ePartner project, which involves file upload. I have also uploaded files before, but they are all small files, which cannot exceed 2 MB. Upload more than MB. I couldn't find any information to study it. For WEB-based

Use Servlet to dynamically generate images

In Web applications, images are often generated dynamically, such as real-time stock market quotations and various statistical charts. In this case, images can only be dynamically generated in the server memory and sent to users, then it is

Connection to the database using the connection pool of JSP

You can take a look at the three files below (one jsp and two. java), when I enter the address in IE, the following error is prompted (the code should be correct, and I don't know if it is set). I am very grateful for the high finger instruction:D:

Java truncates strings by Byte Length

Compile a function to intercept a string. The input is a string and number of characters, and the output is a string truncated by bytes. However, make sure that no half of Chinese characters are intercepted. For example, if "my ABC" 4 is used, set

Easy! Sorry, press enter by mistake.

Main Process1.You need to have a Frame object.2. Call java. awt. Toolkit. getPrintJob (Frame parent, String jobname, Properties props );3. Call PrintJob. getGraphics () to obtain the Graphics instance.4. DrawLine () and drawString () on Graphics

It is not recommended to directly write statements on the jsp page to connect to the database.

1. jspConnection conn;Statement Stmt;String SQL = ""; String userName = "DB_USERNAME ";String userPwd = "DB_PASSWORD ";String serverName = "DB_SERVER ";String DBName = "DATABASE_NAME "; String driverName = "org. gjt. mm. mysql. Driver ";Class.

12. script elements, commands, and predefined Variables

12.1 JSP script elementsJSP script elements are used to insert Java code, which will appear in the Servlet generated by the current JSP page. There are three types of script elements:Expression format : calculates the expression and outputs its

Total Pages: 1800 1 .... 1697 1698 1699 1700 1701 .... 1800 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.