Let's see a lot of people who need it. Let's share some good things.
CopyCode The Code is as follows: function content_code (STR)
Dim ary_string, I, n, n_pos
Ary_string = Split (STR, "[Code]")
N = ubound (ary_string)
If n Content_code = Str
Exit
For website designers, it is inevitable to process a large number of files, especially images and text files. The advantage is that the file names are not repeated and easy to manage. Here, we specifically introduce a simple and easy way to rename
Date function
Description: returns the current system date.
Syntax: Date
Dateadd FunctionDescription: return the date of the specified interval that has been added.Syntax: dateadd (interval, number, date)Interval: required. String expression,
'============================
'Apsara stack anti-CC attack ASP
Program Plug-ins
'We recommend that you do not modify other content except the parameter content that must be modified.
'If you need to report errors or submit comments, you can contact
Database operations are frequently used. Including connections
Code SQL commands and so on, and never deliberately remember them (I am not willing to remember this stuff), so I often look up books and turn them over when using them. Some of the
How to use split to perform Array Operations under ASP
Example of the split function in ASP
Have you ever thought of getting some values in a string without starting? Are you confused about how to write split in a book or textbook ...... If you have
Jqgrid is an excellent jquery-based DataGrid framework, which is certainly familiar to everyone. There are few ASP-based materials on the Internet. I provide one in JSON format:
, A json class for jqgrid:
Code It seems to have been converted from
We know that when we use ASP. net ajax, some convenient server-side controls such as UpdatePanel, our browser cannot save the status of these asynchronous browsing pages, whereas ASP. NET3.5 Extensions provides us with a solution. The following
Introduction
The previous article after writing, some colleagues enthusiastically replied, some asked questions, and hoped to give some examples to illustrate; some of them provide suggestions and hope to write more details in the next article.
1. Understand Server objects
The Server object provides access to methods and attributes on the Server and HTML encoding. These functions are completed by the corresponding methods and attributes of the Server object.
Ii. common attributes of Server
1. download the following text file and change. TXT to remote. asp.
Copy codeThe Code is as follows: 'Whether to save the remote image when adding a resource
Const sSaveFileSelect = True
'Remote image storage directory. Do not add "/" at the
1. Declare VBScript Variables
In ASP, VBScript provides strong support and can seamlessly integrate VBScript functions and methods, which greatly facilitates the extension of existing ASP functions. Because ASP has blurred the concept of variable
1. ASP and Access database connection:
Copy codeThe Code is as follows: dim strConn
Dim conn
StrConn = "Provider = Microsoft. Jet. OLEDB.4.0; Data Source =" + Server. mappath ("data/isp. mdb") + "; Persist Security Info = False"
Set conn = Server.
Asp:
Asp is a scripting language. Generally, the connected database is Access and MsSql (SqlServer ). when we develop a general small database website, we generally use an Access database with less than 30 thousand records.
The advantage of Access
The instance where the object reference is not set to the object
I. general statement on the network
1. The ViewState object is Null.
2. DateSet is empty.
3. DataReader is empty due to SQL statements or Datebase.
4. When a string variable is
Note: An unhandled exception occurs during the execution of the current Web request. Check the stack trace information for details about the error and the source of the error in the code.
Exception details: System. BadImageFormatException: failed
When using ASP to create a site, a combination of program code and HTML code often occurs in an ASP file. This method has many disadvantages:
1. Design and orchestrate the page layout during programming, resulting in confusing code and non-standard
This post will collect and collect the most comprehensive functions used in ASP programming applications. Everyone is me and everyone is me :)As long as each person provides one or two collections of well-known general functions, I think this post
The improvement of the query language is an important part of the JDO2.0 specification. This article describes some new functions provided by JDO2.0 from a higher level. As the JDO2.0 specification has not yet entered the public draft State, nothing
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