20 practical examples of ASP programming (1)

1. How to use Asp to determine the virtual physical path of your website A: Use the Mappath method. The Physical path to this virtual website is: 2. How can I know the browser used by the user? A: Use the Request object method. StrBrowser =

ASP Automatic Generation of numbers

The indentity or new id () method is not easy to use. I wrote one by myself. This sequence number is characterized by the maximum number of the Day of the system in the corresponding table each time, if no record is generated on the current day, a

Common File processing functions in ASP

Custom functions commonly used for processing file uploads and deletions in ASP:'''''''''''''''''''''''''''''''''''''''' '''''''''''''''''''''''''''''''''All custom VBS Functions'''''''''''''''''''''''''''''''''''''''' '''''''''''''''''''''''''''''''

Basic Methods for pagination of posts in ASP (1)

After learning about the above attributes and methods of the Recordset object, let's take a look at how to use them to achieve our paging display purpose. First, we can set a value for the PageSize attribute to specify the number of rows that

Use ASP to build a private search engine

Basic Ideas Use a form to store search keywords submitted by users in variables and submit them to ASP scripts for processing. Use the ASP built-in "REQUEST" object to obtain key characters in the variable, then, the "REDIRECT" function of "RESPONSE"

Web page ad rotation skills in ASP (1)

You should be familiar with javascript. Next we will use it to solve the advertisement problem. The design idea is as follows: change the practice of Displaying Multiple Fixed advertisements on the same screen to displaying only one advertisement on

ASP excellent questions and answers (2) (1)

1. oncontextmenu = "window. event. returnvalue = false" will completely block the right mouse button no 2. cancel selection to prevent Replication3. onpaste = "return false" Do not paste4. oncopy = "return false;" oncut = "return false;" Prevent

Tips for executing IIS and designing ASP programs

1. Average distribution of front-end and back-end program execution Load ASP does not aim to replace the Script program of the front-end web page. On the contrary, the front-end should coordinate with each other: the work that can be executed by

ASP reversible Algorithm

Unction encrypt (ecode)Dim textsDim I For I = 1 to len (ecode)Texts = texts & chr (asc (mid (ecode, I, 1) + I)NextEncrypt = textsEnd functionFunction decrypt (dcode)Dim textsDim IFor I = 1 to len (dcode)Texts = texts & chr (asc (mid (dcode, I, 1)-I)

ASP. NET + MySQL: strong combination

Because of its competitive prices and ease of use, MySQL has gradually increased its market share. The open source code community has developed a database connector that can be used in. Net Framework (. NET Framework) to extend the scope of use of

ASP. NET: Introduction to custom object classes (1)

Introduction The era of ADODB. RecordSet and the often forgotten MoveNext has passed, replacing Microsoft ADO. NET with powerful and flexible functions. Our new weapon is the System. Data namespace, which features extremely fast DataReader and a

Common performance optimization methods in ASP. NET (1)

1. database access performance optimization Database Connection and ShutdownTo access database resources, you need to create a connection, open a connection, and close the connection. These processes need to exchange information with the database

ASP. NET method for processing data paging in browsers (1)

When programming ASP databases, due to browser size restrictions, when there are many data records to be browsed, in order to achieve more intuitive results, we divide these data records into several pages and use the data navigation buttons or

Make full use of ASP. NET three caches to improve site performance (1)

ASP. NET provides three main forms of cache: page-level output cache, userWidgetLevel output cache or segment cache) and cache API. The advantage of output cache and fragment cache is that it is very easy to implement. In most cases, it is

Summary of some ASP. NET problems in IIS

Generally, IIS cannot run ASP. NET. Try the following four methods: 1... NET Plugin-I to reinstall IIS Mapping is mainly used for matching the Extention of files such as aspx and asmx ). In the C: \ WINDOWS \ Microsoft. NET \ Framework \ v1.0.3705

ASP. NET Security Vulnerabilities

Three major issuesMr Moore introduced his findings at the recently held CanSecWest meeting. You can see his article on digitaloffense.com ). After introducing the three security issues that he discovered on the ASP. NET platform, Moore demonstrated

Code separation in ASP. NET

ASP. NET contains a new method: separating the commercial logic code from the expression code. This is often called the code behind it. It is very powerful and easy to execute. The implementation step is to add user interface elements to the ASP.

Use ASP and WML for database query

The code used by ASP and WML to query databases is similar to that used to write WEB pages on ASP. <%Response.ContentType = "text/vnd.wap.wml"%><?xml version="1.0"?><!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"

ASP Regular Expressions (1)

What is a regular expression?If you have never used a regular expression, you may not be familiar with this term or concept. However, they are not as novel as you think.Remember how to find files on the hard disk. Are you sure you want to use? And *

Use the HiddenField control in ASP. NET2.0 (1)

The HiddenField control, as its name implies, is a server control that hides the input box. It allows you to save data that is not displayed on the page and has low security requirements. Maybe there should be such a question at this time: why do we

Total Pages: 1075 1 .... 994 995 996 997 998 .... 1075 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.