'==================================================
' Function name: GetArray
' Function: Extract link address, separated by $array$
' Parameter: Constr------Extract the original character of the address
' Parameter: startstr------start string
'
Using ASP to implement a Web site's directory tree
Database structure (two tables used altogether)
1. Tblcategory
Field Name Type
Root binary description tree off or on (root of directory)
ID Auto Number keyword
The sort integer identifies the
Copy Code code as follows:
'*************************************************************
' Please keep this declaration information when forwarding, this statement does not affect your speed!
'***********************************************
' Function: Text anti-copying garbled function
' Date:2006-3-6
' Author: blue2004
' Parameter str is the original, str1 author is yourself, Reslut produces garbled seeds
Function Readtocode (Str,str1,result)
Dim name
Dim i,j,k
If isnull (str)
I want to do meta keywords, such as my title display ASP code is: If the end-displayed title such as "How is the string split implemented?" ”I would like to divide the string into two Chinese characters, such as "character, String, string, split,
Some common auxiliary code
Click to return to the previous page code:
Pop-up warning Box code:
Click to open a new window
Pop-up confirmation box when deleting a record:
Close an open window
Close Window
Empty input and
Copy Code code as follows:
Sometimes you want to provide multi-language support for our web pages, and if one language is too cumbersome to do with a single Web page, it is fortunate that Google offers the Language Tools feature, and here's how
ASP simple multi-query solution
Copy Code code as follows:
' Subject Information title
' Company name to release information
' Content to post information
' Address Company
' Infomation Company profile
' Note related
The above
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 the
See many friends for no reason to be cheated, special release this inquiry system, lest again fooled!
The use method is very simple:
Directly input each other's domain name or website, support in English and Chinese! Point Query can
Copy Code
Let's look at the definition first.
EF Deferred loading : When querying data from an EF entity object using a LAMABDA expression or LINQ, the EF does not query the data directly, but loads it into memory when it is used for specific data.
What
This article describes how asp.net implements data to import from a DataTable into an Excel file and create a table. Share to everyone for your reference, specific as follows:
///Import data from DataTable into Excel file////// Data source
The example in this article describes the method by which ASP.net uses a DataTable to construct a JSON string. Share to everyone for your reference, specific as follows:
///convert DataTable to JSON///////// private String Dtb2json (DataTable
The example of this article analyzes the method that asp.net2.0 uses enter key as default submission. Share to everyone for your reference, specific as follows:
One of the most annoying things about web development is that it handles "enter key"
The response object is an instance of the Httprespone class. This class is primarily to encapsulate HTTP appropriate information from the ASP.net operation. The response object sends data from the server to the client browser as the result of the
First look at the effect implementation (because the GIF screen recording software is a real-time search, some lost)
The main code is to draw the implementation of the Verification Code class
Using System;
Using
First, "System environment"Operating system: windows2003
Software: IIS 6.0. net2.0 above
Second, "Configure pseudo static steps"1. Right-click the site you want to set up the site
2. Attributes--"The main directory-" configuration-"
3. As the
The so-called cache is actually in memory to open a space to save data, using caching you do not have to frequently access the data you keep on your hard disk, because we want every user to see the effect, consider using a Application object,
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.