ASP database connection and shutdown program

Public Function dbopen ()If IsObject (Conn) Then Exit FunctionSet Conn = Server.CreateObject (cfg.nconnectionobject)If conn.state = 1 Then Exit FunctionOn Error Resume NextConn.Open ConnStrIf Err.Number ThenErrorInfo = Err.DescriptionErr.ClearSet

Connecting various databases with ASP

Methods for connecting DBF, DBC, MDB, Excel, SQL Server databases with asp: ASP Object Access database method In ASP, the object that accesses a database is called ADO (Active Data Objects), contains three kinds of objects mainly: Connection,

ASP phone number Regular expression

ASP phone number Regular expression , when validating the other person's phone number in order to more accurately collect user information or for the security of the system, most programmers will filter the data submitted by the user, and the phone

asp.net control Development (III): Handling label Content

The contents of a ASP.net control label are sometimes processed into a node and sometimes treated as a child control. For example, a node is processed as a value of the property text, and a control such as a panel is treated as a child control.

Use asp.net2.0 to internationalize your website

This function in fact, we already know, now because there is a project to use this technology, so go to a comprehensive search for a bit. Make a record of yourself, easy to find use later.Creating a WEB application that can have multiple languages

Asp. NET, use include

A Common way to builds the navigation and layout for A Asp-driven website be to use include files. Most Advanced ASP developers know that's the it is best to encapsulate the functionality of the Include file I n a Sub or Function, and then to call

Free ASP Access Web site space/100m

Free ASP space size is: 200MB; The flow limit is: unknown; Support Asp+access+fso; Application Address: http://www.jzla.cn/pdtshw/hstshw/index.asp 100M Free asp/php/html Space Support ASP, asp.net, PHP program; ※ Support Access, MSSQL, MySQL

Free ASP space/No advertising/No traffic restrictions

100M Free ASP Space application 100M space any person can apply to use 300M space each day can have more than 150IP webmaster can apply for use 500M space per day can have more than 300IP webmaster can apply for use 1000M space per day can have

asp.net free space-.net space Application (3 section)

100MB free asp+. NET Space The Free ASP space size is: 100M; Monthly flow limit is: unrestricted flow; Support FTP upload and management files; Can bind a domain name, can bind 3 subdirectories; Support Universal ASP. NET; CPU limit: 10%; a

Free web space-asp access 100m domestic space

Welcome to the future Jumpline customers!Congratulations on your FREE basic Quarterly10 GB of disk space (accommodates 16-domain)• 100 Email accountsPlesk Control Panel System 8.3• Frequently Asked questions • In 30 integrated applications• 3 layers

ASP-positive Expression filtering HTML code function

The code is as follows Copy Code Option ExplicitFunction striphtml (strhtml)' Strips the HTML tags from strhtmlDim objRegExp, StroutputSet objRegExp = New RegexpObjregexp.ignorecase = TrueObjregexp.global = TrueObjregexp.pattern = ""'

The regular expression that the ASP removes the table content

Function Getzhanzhanlist (Codes)Codes=regexptest (".*?", Codes)Codes=replace (Codes, "", "")Codes=replace (Codes, "", "")Codes2= ""Temparr=split (Codes, "| |")For each Temp in TemparrIf temp<> "" and Instr (Temp, "http://") =0 ThenIf Instr (Temp, "0

Optimize your ASP performance--translated into Chinese

Maximize your ASP's performance ASP can quickly execute your dynamic Web pages, but you can also tighten code and database connections to make them perform faster. This is a A detailed article on how to streamline code and ASP features to get the

ASP Speed Raising skill

One technique: Improving the efficiency of using the request collection Accessing an ASP collection to extract a value is a time-consuming process that takes up computational resources. Because this operation contains a series of searches for

ASP to prevent the submission of HTML code programs and examples tutorial

If Request ("action") = "Submit" Thenubbhtml = nohtml (Request. Form ("textarea")Ubbtitle = nohtml (Request. Form ("TextField")If ubbhtml = "" Then' HintElse' Save dataEnd IfElseResponse. Write ("uncommitted content")End IfFunction nohtml (ByVal str)

ASP file related information and directory-related information

' Parameter: File name (relative path)' Return value: 0 size 1 Create Time 2 Last modified 3 last browse time 4 path 5 type 6 namePublic Function GetFileInfo (FileName)Dim f,tempDim file (7)On Error Resume Nexttemp = Server.MapPath (FileName)If ofso.

ASP generates static paging file code

db= "Database/database.mdb" Path=server.mappath (DB) Set Conn=server.createobject ("ADODB. Connection ") connstr=" Provider=Microsoft.Jet.OLEDB.4.0;Data source= "&path Conn. The Open connstr Set rs=server. CreateObject ("Adodb.recordset") %>

ASP graph generates instance code

Curve Statistics '''''''''''''''''''''''''''''''''''''''''''''' Function: ASP read database tutorial data generation Statistics Line chart' Development: Wangsdong' Address: www.111cn.net' Support original, keep this information, thank you''''''''''''

ASP File Upload Example

title Documents upload.asp file If Request ("act") = "Upload" Then '****************************************' Function: AspUpload has component upload file' Author: wangsdong' URL: www.111cn.net tutorial' Original source tutorial, reprint

ASP Time Date Formatter

' Function name: formattime' Function: Time formatting' Parameter: datetime----the time to format' Format----form'****************************************************Public Function formattime (Datetime,format)Select Case FormatCase "1"Formattime= ""

Total Pages: 1800 1 .... 1028 1029 1030 1031 1032 .... 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.