ASP regular expression matching number $ number $ number $_ regular expression

Copy Code code as follows: Dim Strok,strno Strok = "12312321$12312312312$12312321$" Strno = "12312321$12312312312$12312321$SDFSD" Function regexptest (PATRN, STRNG) Dim regEx, match, matches ' set variable. Set regEx = New RegExp '

ASP simple Generation static method (template tag replacement) _ Application Tips

Createhtml All articles generated, easy to use resources large The first method: Copy Code code as follows: ' Start HTML Build Way Set rs=server.createobject ("Adodb.recordset") Sql= "Select

Create log files with ASP (source program) _ Application Tips

This example uses a text file to write user information to create a logfile.asp placed at the top of each ASP's page When someone comes to visit your site logfile.asp automatically writes his information to LogFile.txt and does not write to the

ASP operation XML File Full instance code _ Application Tips

Copy Code code as follows: '---------------------------------------------------------------- ' Introduction: Complete the ASP language to add, delete, modify, view the text of the specified node in the XML document ' Entry parameters: None '

ASP let the URL of the Chinese display as a code _ Application tips

ASP decode URL Copy Code code as follows: " >asdf decoding functions [Code] Function UrlDecode (ENSTR) Dim destr,strspecial Dim c,i,v Destr= "" Strspecial= "!" " #$%& ' () *+,.-_/:;?@[\]^ ' {|} ~%" For I=1 to Len (ENSTR) C=mid

How to get the increment ID of the current article after adding content through AddNew in ASP-application techniques

When you add a record using the AddNew method in ASP, we often use an incremented ID, which is easy to implement with a bookmark. Copy Code code as follows: Rs.Open sql,conn,3,3 Rs.addnew RS ("user") = "young Man" RS ("pass") = "333333"

ASP digital or character sorting function code _ Application Tips

Copy Code code as follows: ' Sort Function Sort1 (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 for If ary

ASP batch Generation static page writing (batch generation technique iframe) _ Application Skills

Copy Code code as follows: generate Baidu Xml Dim Sid,eid Sid=abs (Request ("Sid")) If Sid=0 Then Sid=0 Else Sid=cint (Request ("Sid")) End If Eid=cint (Request ("Eid")) If Eid=0 Then eid=500 Else Eid=cint (Request

A piece of code to implement database record paging through GetRows in ASP-application techniques

Copy Code code as follows: REM A section of code that implements database record paging through GetRows in ASP Dim IStart, Ioffset IStart = Request ("Start") Ioffset = Request ("Offset") If not IsNumeric (IStart) or Len (IStart) = 0

ASP Read XML file _ Application Tips

Copy Code code as follows: strSourceFile = Server.MapPath (dataxml& "/advertisement/" &id& "/adv.xml") Set objxml =server.createobject ("Microsoft.XMLDOM") ' creates an XML pair like Objxml.load (strsourcefile) ' reads the XML file into

ASP ACCESS Date Action Statement summary by STABX_ application tips

Copy Code code as follows: 13.5.1 list the data for one day, last week SELECT distinct DateAndTime From Ctdate_by_query_date WHERE DateAndTime between ((#2006 -5-15#+ (Weekday (2006-5-15) -7))-6) and (#2006 -5-15#-7) +weekday (2006-5-15)

ASP Access creates static files/html_ application Tips

Function Description: This code implements extracting data from Access to create an HTML file, and does not build a folder. If the file name is the same as the file name you want to create, overwrite the same principle as the SQL update. To add

asp.net of asynchronous loading _ practical skills

The specific I probably use there are two kinds, need to cooperate with JQ. First Kind, request pages directly via Ajax : for example, 1:datatype must be in HTML or text format, 2:type: Must be ' Post ' request 3: The background Load event must

How to use ASP to receive XML data from a remote server _ application techniques

Copy Code code as follows: Dim objxml Dim objrootelement Dim strvalue Dim Strineturl Dim strxml Dim item Strineturl = "Http://pf.inetsolution.com/inetactive2001/inetactive2001news.xml" Dim Httpreq Set httpreq = Server. CreateObject

Implementation efficiency of ASP extraction data _ Application Skills

You typically extract data records from a database, you need to use a SQL statement, the query gets the related recordset, and then you select the relevant field from the Recordset, and the related record rows are displayed. Then, in the process of

asp.net to get the contents of a Remote Web page (downmoon original) _ Practical skills

Get one of the contents of a Remote Web page (downmoon original) First, when the local direct access to the Internet: Get the specified Remote Web page content #region get the specified remote Web page content Copy Code code as follows: /

asp.net (C #) code for generating random verification codes _ Practical Tips

Commonly used to generate the verification Code program, the picture effect is as follows: The source program is as follows: Copy Code code as follows: Using System; Using System.IO; Using System.Drawing; Using

Learn to use ASP.net 2.0 's localization _ Practical tips

For example, I have a landing page with two labels and two textbox, the page is named Login.aspx and the control is named Lbl_username,lbl_password,txt_username,txt_password. You can start by creating a new App_LocalResources folder on your Web

How to dynamically change the ASP.net page title and dynamically specify a page style sheet method _ Practical Tips

If you need to have a custom space for a asp.net application to leave a user with, such as a user's own style sheet or title for the page, use the following method to dynamically specify: First modify the page titles and style sheets in in the ASPX

Create WAP Application _jsp programming with jsp/asp

Using jsp/asp to create WAP applications (By:darkman) It is easy to use ASP or JSP to create dynamic WML content. The only thing to note is to configure the server to make its script output type "TEXT/VND.WAP.WML", or to set the output type

Total Pages: 1800 1 .... 1422 1423 1424 1425 1426 .... 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.