GetBody ASP to implement the code to intercept strings _ Application techniques

'================================================== ' Function name: getbody ' function: Intercept string ' Parameter: constr------the string to intercept ' Parameter: startstr------start string ' Parameter: overstr------End String ' Parameter:

Using ASP to implement the code of renaming files in bulk

' Rename the file name in the folder and move all the files to the new folder in the following batch; Response.Write "" & VbCrLf & "" & VbCrLf Response.Write " Batch file Rename " & VbCrLf Response.Write "" & VbCrLf & "" & VbCrLf ' Variable

ASP based on ADODB.stream file operation class _ Application Skills

Copy Code code as follows: '************************************************************* ' Please keep this declaration information when forwarding, this statement does not affect your speed! '***********************************************

ASP more comprehensive access to IP address code _ Application Skills

The simplest use of the following statement: Ip=request. ServerVariables ("REMOTE_ADDR") Response. Write (IP) But this method to the proxy server on the Internet is not allowed, so more comprehensive is the following method: Copy Code code

Using ASP to intercept the specified format string code _ Application Tips

A segment string: asdfasdlfajsodf{#kljlkkm #}ojgvjfkdsf{#wdfs #}llsdflksdf There is no regular ... I want to find out the inside {#kljlkkm #} and {#wdfs #} ... 1, Split method: Copy Code code as follows: Dim I, SCode, Acode,

How to obtain the maximum value in an array by ASP-application techniques

How to get the maximum value in an array (provided by the 71PORT_80 port) The function is to obtain a set of the largest array of values, very practical and fine code, worthy of collection! Copy Code code as follows: Snum= "345,231,56,78

Implementation of multi-form domain without component file uploading by ASP-application techniques

Recently, some people have asked this kind of question, here to paste, content: 1. database table Structure (Access):Userid:text (save uploaded file's user ID) Filecontenttype:text (used to save the type of upload file, eg: "Application/msword",

Simple multiple query methods and functions under ASP it's nice. _ Application Skills

ASP simple multi-query solution Copy Code code as follows: ' Subject Information title ' Company name to release information ' Content to post information ' Address Company ' Infomation Company profile ' Note related The above

asp.net method for remote uploading of images based on Web service-Practical tips

This article is an example of the ASP.net based on Web service to achieve remote upload pictures. Share to everyone for your reference, specific as follows: Page call Code: Prerequisite Add Web Reference httpfilecollection files =

asp.net implementation of very practical custom page base class (with source code) _ Practical Skills

The examples in this article describe a very useful custom page base class for ASP.net implementations. Share to everyone for your reference, specific as follows: See the previous articles (such as: "ASP.net implementation using reflection,

asp.net2.0 use enter key as default submission problem analysis (with source code) _ Practical Skills

The example of this article analyzes the method that asp.net2.0 uses enter key as default submission. Share to everyone for your reference, specific as follows: One of the most annoying things about web development is that it handles "enter key"

asp.net implementation of XML output method _ Practical Skills

The example in this article describes how asp.net implements the output XML. Share to everyone for your reference, specific as follows: #region Query XML node values based on XML nodes and make modifications//////Query XML node values based on

ASP.net class serialization generation XML File Instance Detail _ Practical skills

The example in this article describes how the ASP.net class serializes the generation of XML files. Share to everyone for your reference, specific as follows: According to the requirements of the design needs to develop multiple products API

asp.net micro-credit development (user group Management) _ Practical skills

The previous article has explained to the new user group, moves the user to the grouping function, this chapter mainly explains modifies the grouping name and deletes the grouping Directly on the code, nonsense not to say, get the entity classes

asp.net use sqlbulkcopy to insert data into SQL server_mssql

In this way, our Fashui ticket time will be 10 minutes-->20 seconds, which is amazing. As a then, the next demo, testing, change to their own general methods of testing, NND, can really say is the speed. Put my Demo:SqlBulkCopy.rar in here.

Using JavaScript to read the Cookie_javascript techniques set by ASP

Response.Cookies ("Cookie1") ("key1") = "KeyValue2" %>

The use of more ASP cascading menu effect code _ Application techniques

Copy Code code as follows: new Page 1 Dim rs Dim sql Dim count Set Rs=server.createobject ("Adodb.recordset") sql = "SELECT * from Shiinfo ORDER by ID ASC" Rs.Open sql,conn,1,1 %> Province sql = "SELECT * FROM

ASP regular HTML picture, to the graph auto Shrink Enlarge small _ Application Skill

Here's a better one. Copy Code code as follows: Function FormatImg2 (content) Dim re Set re=new REGEXP Re. IgnoreCase =true Re. Global=true Re. pattern= "(script)" Content=re. Replace (Content, "script") Re. Pattern= "]*src (=|) (.

On dynamic multiple rows and columns, cyclic rows and columns, output m rows n columns of ASP code _ Application Tips

It's a real hassle now, is it easy enough to be clear? Copy Code code as follows: Dim I, J, Icols i = 0 '//definition I for loop Icols = 3 '//row with several columns (positive integer) Response.Write ("" & vbNewLine) '//Output table

ASP things function Simple Small application _ Application skills

Conn.begintrans ' Open things function ... The middle is some add modify delete operation Cancel if there is an error Conn.rollbacktrans ' Cancel things change and end things If there's no problem, save it. Conn.committrans ' Save things and end

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