ASP to query XML implementation code _ Application Skills

Now there is an XML that has the following format: 1 ABC 2 CDE 3 EFG I use ASP query id=2, enter the value of the corresponding name, how can I write? Using ASP's Dim id Id= "2" Set objxml = Server.CreateObject

ASP to generate a style Word file method _ Application Tips

Copy Code code as follows: Set fso=server.createobject ("Scripting.FileSystemObject") Str= "asp generate Word file examples Welcome to Www.jb51.net (Yun-Habitat community) " Filename= "2008.doc" Set act = fso. CreateTextFile

Application techniques of several common sorting algorithms in ASP

Dim Adata Adata = Array (3,2,4,1,6,0) Call Responsearray (Adata, "original order") Call Responsearray (Selectsort (adata), "select Sort") Call Responsearray (QuickSort (adata), "quick sort") Call Responsearray (Insertsort (adata), "insert

Implementation of intercepting string-specific content functions in ASP-application techniques

Intercept a string-specific part of a content function '****************************** ' Function: Getkey (html,start,last) ' Parameters: HTML, original string to be intercepted; tart, intercept start tag; last, intercept end tag ' Author: Arisisi '

ASP uses InStr to find code for specific strings-application tips

Today, I found out that the function of the functions, can find a specific character or string. Here's a simple example I wrote: Dim content_text,searchword_text ' Content is contents, Searchword is the text to search for Sub Search

Two methods of using ASP to generate UTF-8 Web-page files--Application techniques

method One: CreateTextFile generate File Method Copy Code code as follows: Set Fso=server.createobject ("Scripting.FileSystemObject") Set Fp=fso.createtextfile (Server.MapPath (FileName), True) Fp.write (filecontent) End

Using the code to delete directories and files in bulk with ASP-application techniques

Function procedure: Copy Code code as follows: ' Del.asp Dim fso,tmpfolder,tmpsubfolder,tmpfile,tmpfiles Set Fso=server. CreateObject ("Scripting.FileSystemObject") Sub Delfolder (spath) If (FSO). FolderExists (server. MapPath (spath)

Universal ASP Anti-injection code denial of attack _ application techniques

These days is really a hole in the SQL injection to hurt God, online code a lot of not very esoteric is trouble. Finally found a universal anti-note code, sharing, hehe. Easy to operate, as long as a included or put into the conn.asp, to fix.

ASP implementation to calculate the two-time working days of the function _ Application skills

'****************************** ' Function: Workdays (Date_begin, Date_end) ' Parameters: Date_begin, start date; Date_end, End date ' Author: Arisisi ' Date: 2007/7/15 ' Description: Calculates a two-time working day ' Example: Workdays ("2007-05-18

Implementation of the function of format file size in MB in ASP application tips

'****************************** ' Function: formatfilesize (L1) ' parameter: L1, number of bytes ' Author: Arisisi ' Date: 2007/7/12 ' Description: Format file size style ' Example: '****************************** function Formatfilesize (L1) Dim l2

ASP String Intercept function _ Application Tips

ASP string intercept function '********************************************************* ' Function: Cutstr[str (strlen)] ' Parameters: str, string to be processed, strlen, length of intercept ' Author: wooden Wood ' Date: 2007/7/12 ' Description:

Function_ application tips for ASP to remove string-and-tail continuous carriage returns and spaces

Copy Code code as follows: ' Get rid of consecutive carriage returns and spaces at the ends of a string function Trimvbcrlf (str) TRIMVBCRLF=RTRIMVBCRLF (Ltrimvbcrlf (str)) End Function ' Remove successive carriage returns and

ASP Google's Translate API code _ Application Tips

Look directly at the code: Copy Code code as follows: Class Googletranslator Sub Class_Initialize () Ruri= "Http://translate.google.com/translate_t?langpair={0}&text={1}" End Sub Private Opt_ ' Property Get Opt Opt=opt_ End

Micro-Credit Development (i) asp.net access _ practical skills

To develop a micro-credit, you need to have a server first, but not yourself. At this time can use peanut shells, the intranet map to the public online, so you can access their website in the public network. Specific See: http://www.jb51.net/article/

asp.net implementation of universal paging function _ Practical skills

This article describes the universal paging function implemented by ASP.net. Share to everyone for your reference, specific as follows: Function: 1. Display 9 pages per page, more than 9 pages, 5 pages after the + 1 page display (can be

Asp. NET to access all control values in the DataGrid-Practical Tips

The example in this article tells you how to access all the control values in the DataGrid in ASP.net. Share to everyone for your reference, specific as follows: " ' runat= ' Server > ' runat= ' server > C# c++ VB SQL

Asp.net+ligerui implement grid export Excel and Word method _ practical Tips

The example in this article describes how Asp.net+ligerui implements grid to export Excel and Word. Share to everyone for your reference, specific as follows: The following guide to Excel method, suitable for not paging the grid, and no need to

Analysis of asp.net mvc dependencyresolver components _ practical Tips

First, the preface Dependencyresolver is an important component of MVC, which, by name, is responsible for the resolution of dependent objects, which can be said to be an IOC container used within the MVC framework. The creation of many objects

Simple analysis of ASP.net routing model working principle _ practical skill

PS: This is for the asp.net4.5 version, as if in the latest 5.0 version of the add Owin, thoroughly decoupled and Web server coupling, I have not yet studied, dare not raved that the 4.5 model applies 5.0. action*0x1: A asp.net model of Dahua

asp.net acquisition of all images on the page of the specific methods of image resources _ practical skills

Sometimes we need to collect some information to their own database, local disk, we often use is webclient,webrequest, etc., today, mainly say, for a URI address, collect all the image resources on this page, the following is the source code, for

Total Pages: 1800 1 .... 1063 1064 1065 1066 1067 .... 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.