Asp.net server processing page Process
The browser sends a request -----> server software IIS ------> can process (for example, static page) -----> directly reads data and returns it to the browser -----> the Browser executes and displays
|
| -
Release Asp.net to remote server
Based on BS project requirements, after modificationCodeUpdate the synchronization to the corresponding release version of the server in a timely manner. Currently, vs2010 provides the following methods for
ASP. NET controls the input of numbers and letters
The distance between the input numbers and letters is determined through the JavaScript function,First, add two labels and the corresponding textbox space in Aspx.Then, enter
The onkeypress event
In the Web 2.0 era, many websites adopt Ajax technology. The cost of a better user experience is that the content search engine obtained by JavaScript cannot be crawled. Google is also studying this technology. This article discusses ASP.
In ASP, a special statement is used to detect the resolution. You can enable the server to automatically select the page version to be sent based on the resolution.
ProgramAs follows:
To determine the screen resolution of the client,
After adding a couplet advertisement to the page, I found that the page was not rolled and it was very depressing. It turned out to be Http://www.w3.org/TR/html4/loose.dtd"> This sentence does not scroll, but if it is removed, it is a disaster
1. response. Redirect ("XXX. aspx", true) -- go directly to the new page and replace the original window;2. response. Write ("") -- retain the original window and add a new page;3. response. Write ("") -- open a new page and replace
1. Install IIS:
A) add or delete Control Panel =Program= Add/delete Windows Components = check Internet Information Service (IIS) and click "Next ".
B) If you have a CD, download the IIS XP installation package from the Internet and decompress the
From a person called
IvonyIt seems that it is on csdn.
First, IIS receives the request and sends itASP. NET.ASP. NETThe first thing to do is to create an httpcontext object.Then, httpapplication starts to take over.The first is to trigger the
ASP class usage
ASP class
Strictly speaking, ASP is not a programming language, so there is no such concept. Here we say that ASP class refers to the class used by VBScript in ASP.
ASP class is relatively simple, it does not have the inheritance,
What is Cookie?
Cookie, which is sometimes used in the form of cookies, refers to the data stored on the user's local terminal for some websites to identify users and perform session tracking. Usually encrypted. Therefore, when you view the cookies
Effect:In the application_start method of Global. asax of the websiteAdd a timer to regularly call WebServiceA method of this WebService is responsibleAdd data to a table in the database
Steps:1. Create a website through2. Join global. asax3. Add
> 1. Determine whether injection exists.
; And 1 = 1
; And 1 = 2
2. Determine whether it is MSSQL.; And user> 0
3. The injection parameter is a character.And [query condition] And ''='
4. parameters are not filtered during search.'And [query
Excelexport. aspx. VB
Public class excelexport inherits system. web. UI. page protected withevents datagrid1 as system. web. UI. webcontrols. dataGrid # region "code generated by web forms designer" 'This call is required by web forms
The Caching cache is used to save and reuse some frequently-used data that generates a relatively high cost. Generally, data is stored in the memory, because reading data from the memory is faster than reading data from a database or other
Function LoadFile (byval file)Dim objstreamOn Error resume nextSet objstream = server. Createobject ("ADODB. Stream ")If err. Number =-2147221005 thenResponse. Write " sorry, your host does not support ADODB. Stream and cannot use this program "Err.
Learning every language is essential to learning controls. Controls in the development environment of each language are similar. The Asp.net control is very simple. You can set the properties of the control to directly use the control. In CS, if the
Prompt judgment for certain options on the Asp.net page. For example, when saving an information, you need to judge whether the current information is empty,There are two possible cases. Use the ext control and ASP control for analysis.1. If it is
What is a three-tier architecture?
Let's talk about the three-tier structure in the hotel.
Waiter: hospitality/submit menu
Chef: raw materials, cooking, and food delivery
Purchasers: Procurement
Layer-3 Structure Analysis
(1)
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.