A collection of ASP development techniques

Skill 1. Several common functions Round (pi, 2) roundedFormatNumber (k,4) ' formats K as a number with four-bit decimal points.eg. If K =20000 is shown as 20,000.00 if FormatNumber (k,0) is 20,000Replace (Expression,find,replacewith) ' returns a

Upgrade md5.asp to create fully dynamic and repeatable encryption code

Dynamic | encryption | Repeat for a fully dynamic password, allowing the same password to produce different results password AAA After the first operation the result is: jlce1d65ec3b91556234879c9db8f6da1123 Second time:

ASP Series function Encyclopedia (1)

function ASP function Encyclopedia ASP functions are similar to VBScript, here are some common functions   Array ()   The function returns an array   expression Array (list)   allow data types: characters, numbers can be  

Asp. NET adds host headers to IIS via code

Asp.net|iis saw a drunk solution thousand sorrow of the ASP.net version of the IIS directory, think of the previous thought to the code to IIS to increase the host head, but has not to study, today, while interest, decided to solve the problem.

The first knowledge of learning asp.net Web Forms

Asp.net|web in asp.net, the pages sent to the client browser are dynamically generated by the base class in the. NET Framework. This base class is the page class in the Web page frame, and an instantiated page class is a Web form, that is, Web forms.

ASP gets the MAC address of the NIC

Private Const Ncbastat = &h33 Private Const Ncbnamsz = 16 Private Const heap_zero_memory = &h8 Private Const heap_generate_exceptions = &h4 Private Const Ncbreset = &h32 Private Type NCB Ncb_command as Byte ' Integer Ncb_retcode as Byte '

ASP implement single page query database

Data | database Dim Rs,sql,x_name,x_pwd,x_countIf Request.Form ("do") = "OK" ThenIf Request.Form ("user_name") = "" ThenResponse.Write (" ")Response.End ()ElseX_name = Request.Form ("user_name")End If' ↑ The Renegade username is empty!If

Asp. NET Learning Notes ado.net (i)

Ado|asp.net| Notes |ado|asp.net notes from the C # Web application entry Classic 1. ADO. NET Architecture Ado. NET this name does not represent the actual content--ado originally represents the ActiveX Data obejects, but is a kind of technology name.

Limit the same form to multiple submissions in ASP

This article describes an easy way to prevent users from submitting the same form multiple times during the current session in an ASP application. It is mainly composed of four subroutines, in a simpler application, you simply put the code in the

Comparison of several open Recordset methods in ASP

Comparison | recordset Define conn.asp FirstDim objconnDim strconnstrconn = "Provider=Microsoft.Jet.OLEDB.4.0;Data source=" & Chr (+) & Server.MapPath ("Data.mdb") & Chr (34)Set objconn = Server.CreateObject ("Adodb.connection")objConn.Open strconn%>

Let Apache support asp.net

Apache|asp.net|apache|asp.net Apache is currently widely used in a Web server program, not only on the Unix/linux platform is heavily used, but also on the Windows platform many sites have abandoned IIS and turned to Apache. . NET is a powerful

How to obtain the client MAC address in ASP

Client This procedure is a special method. The scope of use is relatively limited, and there is a certain risk. Borrowed from the ASP in the back door of some methods. The following is the program code. Dim remoteaddr If Request.ServerVariables

Uploading and downloading files in the ASP.net program

Asp.net| Program | upload | download Check that the upload file is not emptyif (file1.postedfile!=null){String nam = File1.PostedFile.FileName;Gets the last "." in the filename (enclosing path). The indexint i= Nam. LastIndexOf (".");Get file name

asp.net2.0 HiddenField Control

Asp.net| Control The HiddenField control, as its name implies, is a server control that hides the input box, allowing you to save data that is not required to be displayed on the page and that is less secure. Perhaps this time should have such a

ASP online Upgrade class files

Online Rem ##################################################################################### Rem # Online Upgrade class declaration Class cls_oupdate Rem ################################################################# Rem # Description: ASP

PHP VS ASP

Microsoft's ASP is a powerful Dynamic Web page technology, I have used a year of ASP, using it to create a lot of Web sites, but now my company is trying to switch to another internet technology called PHP, for future web site development. The

How to deal with images in ASP

In the use of ASP programming, many times to use the image. For the simple processing of a image from the database, the method has been said a lot, it is not difficult to see the following code: Here, let's say you have a database named: Pubs, in

Asp.net2.0:ilungasoft.framework.web-based callback no refresh upload progress bar control [with source]

asp.net|web| Control | upload | refresh | no refresh Share a callback based on the No Refresh Upload progress bar control of the source code. This control uses a httpmoudule based on the gem's Upload progress bar sample, which is encapsulated as a

asp.net 2.0 insert new record with GridView

Asp.net| inserted to see a foreign giant cow blog, probably speaking asp.net 2.0 with the GridView Insert new records, the method is more special, but the effect Generally, so the program to turn, simpler, do not explain and so on.

ASP Design website online Headcount Statistics program

Program | design | statistics | online | When browsing the Web, you can often see a number of online numbers of people on the current site who are xxx. How to use ASP to do one? First of all, the analysis of its practice, in general, these online

Total Pages: 1800 1 .... 449 450 451 452 453 .... 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.