Counter below introduction use database to implement simple counter
' Save As Count.asp ' below
Set conn=server.createobject ("ADODB. Connection ")
Conn. Open "Driver={microsoft Access driver (*.mdb)};d bq=" & Server.MapPath ("Count.mdb")
%>
Set
Absorbing
' ASP Code would run on the server and make HTML Page
' Java Script'll run on Client Side and change the background color
' According to movement of Mouse
%>
Dim I1, I2, I3 ' looping variables for RGB colorfor I1 = 0 to 3
For I2 = 0
Stored procedure 1. General method of calling stored procedures
Let's assume that there is a stored procedure dt_users in SQL Server:
CREATE PROCEDURE [dbo]. [Dt_users]
As
SELECT * from Users
Return
Go
The first approach is to not use the command
Generate HTML
A total of two pages index.htm is the first page. The program is simple, mainly using the ASP file Operation object.
"" >UntitledDocument
Send Message
'//send.asp
Functionchan_time (Shijian) ' Convert date-time functionS_year=year
The search engine is composed of an ASP file of an HTM file, mainly uses the FileSystemObject component to achieve the goal, the function is formidable, after modifies the interface may use directly, certainly adds a little own thing to be even
Start writing a team piece (get started with components)
Theme
This article is mainly for the people who want to improve their ASP level to write! The ASP code into a component, the developer is not only to speed up the ASP, but also to protect
Someone recently asked how to use ASP to get another Web page, and analysis of the use of its data, pure ASP is not to do this, so I used VC to do an HTTP component, very simple, as asphttp, because the time problem I did not do post method, can
Print | Page We often encounter the need to hide some objects that do not need to be printed when we print the form in IE. for example, the button, the input box, or the hope that Mo table is displayed when the form line is by color, and when
Algorithm this is excerpted from Tsinghua BBS an article, foreign language, the younger brother to turn it into Chinese please master advice.
After the words of the semicolon (;) is the younger brother's translation, the Well number (#) after the
access| Programs | printing | No components at present, B/S mode (browser/server mode) has become the preferred computing mode of the Enterprise network. Because of the particularity of B/S mode, the Excel report printing function which is
A tricky issue with asp.net web development is debugging. In the era of ASP or simple JavaScript, developers use Print statements to track problems in their code. This approach has changed as Microsoft introduced ASP.net, because it contains a lot
Voting Batman translation Finishing
A very good ASP program to build your own voting system. Read it carefully, and as long as you can understand the key technologies in the middle, you can build your own polling station on your website. The papers
application|web| Quick Start File global.asax
In addition to writing the UI (use Interface: User interface), we can also
Add "Application" level control logic Code and event trigger in application
Order. The code does not operate to generate the UI,
Sort | array
Thanks to the source code provided by port 80, this function has been published through common perfection.
'=====================================' Author: Port 80, Arisisi' Time: 2005-12-23' Function: Reorder data'======================
statement when your query is relatively simple, every time you create a SQL statement from scratch is not time-consuming, however, complex queries are different, each time from scratch will produce a lot of development errors. So, once you have SQL
Page | array | image address 1.31 correction
There are spaces behind the src= that do not match correctly. Modified.
Error src= ' is empty. Modified.
Bug found: A picture path can have more than one space. Not fixed.
2.18 Amendment
A picture path
asp.net| Script | solve | refresh | problem | Page refresh with asp.net developer for server-side control events It's a headache!
Not here to share the solution of not doing a project.Not the idea is to write the script after the event execution,
Object| Source code Save attachment (saveatt.asp)
'*************************************
' This file is used to download attachments
' Author: Awayeah
' E-mail: awayeah@163.net
'*************************************
Dim FSO, Tempfile
Set fso =
Skills
One technique: Improving the efficiency of using the request collectionAccessing 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.net|datagrid| paging ASP. NET enables efficient paging with custom paging functionality and stored procedures in the DataGrid
Asp. NET in the DataGrid has built-in paging capabilities, but its default paging efficiency is very low,
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