ASP traversal of files and folders

Function subfolders (PATH)Dim FSO 'fso objectDim objfolder 'Folder objectDim objsubfoldersDim objsubfolder 'subfoldersDim objfilesDim objfile 'file objectSet FSO = server. Createobject ("scripting. FileSystemObject ")Set objfolder = FSO. getfolder

ASP creates a three-tier structure

With the development of Internet applications, the application model of the three-tier architecture is also favored by more people. This article introduces three-tier structure applicationProgramAnd introduces how to establish a three-layer ASP

ASP. NET page handling process

1. Page InitializationAfter a page is requested, the first stage is to initialize the Page Object of the page. During the initialization process, the server generates a page_init event. developers can use this event to control the page, orProgramTo

Find out the main backend of the four plug-ins of ASP. NET 2.0-aspnetdb

This is what I found in the garden,ArticleThe analysis is very careful and helpful!ASP. NET 2.0 "ins" (reproduced)Aspnetdb database relationship diagram, tables, and views (1) Basic Tables and independent tables (reproduced)Aspnetdb tables and views

ASP entry-level cookie Application

Cookies are often used to identify users. Cookie is a small file that the server stays on the user's computer. Each time a computer requests a page through a browser, the computer sends a cookie.   Cookies are not stored on the server, but

Understanding ASP. NET configuration file web. config

1. Understand the Web. config file The Web. config file is an XML text file used to store ASP. NET web applications. Program Configuration information (for example, the most common setting of ASP. NET web application authentication method), it can

Asp.net implements pseudo-static pages

In fact, the so-called pseudo-static page refers to URL rewriting, which is very simple to implement in ASP. NET. The following is a simple process that experts do not need to read. First, you need to reference two DLL files in your project:

ASP. Net Post Data

Const String Suseragent = " Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.2;. Net CLR 1.1.4322;. Net CLR 2.0.50727) " ; Const String Scontenttype = " Application/X-WWW-form-urlencoded " ; Const

Asp.net SQL transaction

Using (sqlconnection connection = new sqlconnection (sqlhelper. connectionstringlocaltransaction )) { Connection. open (); Sqlcommand command = connection. createcommand (); Sqltransaction transaction; Transaction = connection.

) Comparison of three methods for page Jump in Asp.net

1. response. redirect the method used to jump to the page is not fast, because it takes two rounds (two PostBack times), but he can jump to any page without Site Page restrictions (that is, he can jump from Yahoo to Sina ), logon protection

Asp.net Array application

Response. Write (array. indexof (ABC, "3", 1); // search for "3" in the ABC array, starting from ABC [1] Response. Write (array. lastindexof (ABC, "3"); // search for "3" in the ABC array. -----------------------------------------------------------

Quick query of ASP VBScript Functions

VBScript Functions Function Description Example ABS (numerical value) Absolute value. The absolute value of a number is its positive value. The absolute value of a null string. Uninitialized variable, which is absolutely 0

ASP. NET file download, directly output the file to the client

Output files directly to the client // Download transmitfileProtected void button#click (Object sender, eventargs E){/*Microsoft provides a new transmitfile method for the response object to solve the problem of using response. binarywriteWhen a

Solution to Asp.net page garbled

The first solution to Asp.net page garbled: Requestencoding = "gb2312"Responseencoding = "gb2312"/> Asp.net page garbled second solution: Third solution to Asp.net page garbled: Specify the file name when downloading the file, The Chinese file name

Application of the carriage return key in ASP. net2.0

1. Press enter to not submit data. If (window. event. keycode = 13) { Event. returnvalue = false; Event. Cancel = true; } 2. Press the Enter key in the file box to trigger the submission event. Textbox1 . Attributes. add ("onkeydown", "If (event.

Detailed instructions on ASP. NET page commands

When using commands, although the standard practice is to include commands at the beginning of a file, they can be located anywhere in the. aspx or. ascx file. Each instruction can contain one or more attributes specific to the instruction (in pairs

ASP. NET cache Overview

Generate high-performance, scalable Web Applications Program One of the most important factors is the ability to store these items in the memory during the first request, whether they are data objects, pages or some parts of pages. These items can

C # Asp.net cookies class (cookies operation class)

Using system; Using system. collections. generic; using system. LINQ; using system. web; using system. web. security; using system. web. ui; using system. web. UI. htmlcontrols; using system. web. UI. webcontrols; using system. data; using system.

ASP. NET site performance improvement-compression

Document directory Store compressed files in the output Cache If the client does not accept the compressed memory Compression negotiation How does the server know that the browser can receive compressed content? How does the browser know that

Turn: Building a high-performance ASP. NET Site Chapter 5-Performance Tuning Overview (Part 1)

Building a high-performance ASP. NET Site Chapter 5-Performance Tuning Overview (Part 1) This article describes how to use some simple tools to analyze some data related to site performance. In the previous article, we discussed the general process

Total Pages: 1800 1 .... 1081 1082 1083 1084 1085 .... 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.