It is easy to use asp.net to output the word, EXCEL, TXT, htm, and other types of documents that specify the content.
Define document type, character encoding
Response.Clear ();Response.buffer= true;Response.charset= "Utf-8";
The following
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
Four Example describes how to use the CheckBoxList component:
(1). How to determine which check boxes are selected in the component:
In a program, it is done by handling the selected property and the Count property, as follows:
for (int i = 0; I
Web Form Web pages are HTTP based and they have no status, which means they don't know if all requests are from
The same client computer, the Web page is corrupted, and whether it has been refreshed, which can cause information
Lost.
As a result,
We know that the proper use of HTML controls in ASP.net has many conveniences, that HTML controls can be scripted on the client and controlled in the CS file after the Web page is submitted to the server, which cannot be done with a separate Web
Environment: Microsoft. NET Framework SDK v1.1
Os:windows Server 2003 Chinese version
Asp. NET generates static HTML pages
The FileSystemObject object for generating static pages implemented in ASP!
This type of operation is involved in. NET
Application URL: http://www.cf35.com/NewsShow.asp?id=12Their statement:See also for details: http://bbs.easyopen.cn/ShowForum.asp?ForumID=14Free host steps to apply for eoidc.com:Application URL: http://home.91zc.com91 Registration Network to
┝ user type: Free space┝ Space Capacity: 10M┝ provide domain name: http://www.gogho.cn/user Name┝FTP Permissions: X┝asp Permission: √┝ File Size: 1024 K
Details: This space is suitable for personal building station use, support script htm, HTML,
MB of disk spaceFor a limited time, there is no advertisingFTP Access AccountStandard ASP ScriptsUnlimited bandwidthTechnical Support via emailMicrosoft Access databaseWeb-based File ManagerNo file type Limit *No File size limit *No monthly feeNo
The code is as follows
Copy Code
Set xlapplication = Server.CreateObject ("Excel.Application") ' calls the Excel object xlapplication.visible = False ' Do not need to open Excel Xlapplication.sheetsinnewworkbook=1 ' to specify
REM-----------------------------------
REM Author: Wang Qin army qinjunit@yahoo.com
REm Creation Date: 2004-10-12
REM Modification Date: Monday, January 24, 2005
REM-----------------------------------
' Function practical data paging display
Use of RegExp objects:Copy code code as follows:
function Regexptest (patrn, STRNG)
Dim regex, Match, matches ' set variable.
Set regex = new RegExp ' establishes a regular expression.
Regex.pattern = Patrn ' Set mode.
Regex.ignorecase
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
Use a "Static" ASP page to improve the performance of your server
Usually, when you display the information in a database, you use a dynamic page to generate it.
This has no effect on the performance of a small web site or when the size of the
J.D Meier.
September 27, 1999
Content
Introduced
Plot
Test requirements
Introducing the Test tool was
Analyze test results
Factors that affect performance and testability
Simulate multiple users
Running tests that require login
This article introduces a new method of using ASP technology to realize database query in Flash, which not only hides the client completely. asp program, and Flash's ease of use, graphics make your Web page unique.
Basic principle
1.Flash method of
Database access
Accessing the database will slow down the program quickly, but there are no databases and many sites are not. Do not use the embedded SQL statements to access the database, you can use stored procedures to access the database,
asp OWC Control to achieve a variety of statistical charts ' The following test is a product sales figure. NET Tutorial ' >www.111cn.netMX1 = "A product, b product, c product, D product" ' Data item array group (give the test data, the actual use of
' Function name: formattime' Function: Time formatting' Parameter: datetime----the time to format' Format----form'****************************************************Public Function formattime (Datetime,format)Select Case FormatCase "1"Formattime= ""
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.