ASP. NET global. asax event

The global. asax file is sometimes called an ASP. NET application. Program File, provides a way to respond to application-level or module-level events at a central location. You can use this file to implement application security and other tasks.

ASP. NET viewstate, session, Cookie Area

Viewstate The value of viewstate is stored in the HTML of the browser. CodeWhen the browser is closed, the value disappears, that is, viewstate is passed between functions on this page. Why is this method used? Because after an event occurs, the

Solution to the image path in ASP. NET masterpage!

Generally, there are three methods to express the link path: absolute path, relative path, and root directory-based path. In addition, for ASP. NET Server controls, you can also use "~" To replace the root directory.In masterpage and user controls,

How does Asp.net set the number of database connection pools?

You can use a group of name-value pairs to configure the link pool as a link string. For example, you can configure whether the pool is valid (which is valid by default). The maximum and minimum capacity of the pool is used The time when the open

Page value transfer in ASP. NET (traditional method)

Pass values on pages in ASP. NET I. Currently, there are several methods for passing values on pages in ASP. NET: 1. Form submission,....Form1.submit ();....This method is implemented in ASP. Net is invalid because ASP. . Net forms are always

Depressing asp! Depressing PV!

Depressing asp! Depressing PV! The reason is that sometimes the MCU + FPGA/CPLD joint debugging is not enough for me to use epm240t100c5n, instead of drawing a larger resource CPLD, I chose ep2c5t144c8n, which is the most cost-effective FPGA. I

Display progress bars when loading pages for a long time in ASP. NET web applications

Display progress bar in ASP. NET For ASP. NET pages that have been loaded for a long time, we can display a progress bar in the client browser to show that the page is being loaded. The specific implementation process is as follows: Create a

ASP. NET upload and download file example, implemented using WebClient

/// /// WebClient uploads a file to the server /// /// file name, full path format /// server folder path Public String uploadfile (string filenamepath, string uristring) { String filename = filenamepath. substring (filenamepath. lastindexof ("

Simple learning of ASP. NET cache applications

We add three buttons on the page and double-click the button to create an event handling method. The three buttons use different expiration policies to add cache. Onclick = "btn_insertnoexpirationcache_click"/>Expired cache "onclick ="

Hash encryption password provided by ASP. NET

Use the formsauthentication class provided by ASP. NET to implement the hash encryption password. Private void loginbutton_click (Object sender, system. eventargs E) { String SQL = string. Format ("select password from administrator where adminid = '

Favorite Asp.net 2.0 documents

Asp.net control development BASICS (1) gridview template column nested girdview display Master/Slave table data add a checkbox column domain environment in the gridview to install and deploy vsts full process settings VSS enable Internet access to

ASP. NET interview materials [1]

What are the main improvements of ADO. NET and ADO? A: ADO is stored in recordset, while ADO. NET is represented in dataset. Ado. NET provides a dataset and data adapter, which facilitates distributed processing and reduces resource consumption on

ASP. NET interview materials [4]

The company requires the development of an inherited system. windows. forms. listview components require the following special features: When you click the headers of columns in the listview, all rows in the view can be rearranged based on the

Summary of window-related operations in Asp.net (JavaScript)

These Code It is written in the code page separated from the page (codebehind). If you want to embed it into the *. ASPX page Problems may occur. 1. open a new window This is simple: Response. Write (@ " "); 2. Close the window // Close the

ASP. NET performance tips

Ref: http://weblogs.asp.net/haroonwaheed/archive/2008/06/30/ASP.NET-Performance-Tips.aspx At times even after applying the best coding protocols ies & practices you don't get the desired level of performance you are hoping from your asp. NET

Execute the EXE application in Asp.net

Original article: http://www.cnblogs.com/sonicit/archive/2008/04/19/1161256.html Execute an application in Asp.netProgramThere are two methods: 1. Call the Win32 function ShellExecute. 2. Use the process class in. NET Framework. Next, I will use

Two solutions for ASP. NET error handling _ ax

Web page errors are inevitable. How to handle them. Generally, after a page error occurs, our processing method is generally divided into three steps: business logic → write logs → jump to the overview page or specified page   Solution 1] 1.

ASP detection file encoding

Recently, Asp-related files cannot be found on the Internet. If someone gets it out early, don't joke about it. After a long time, you can get it done; Principle: Analyze and determine the UTF-8, Unicode, and ANSI (Simplified Chinese operating

ASP. NET custom error page

ASP. NET has made several improvements in handling and responding to errors. In traditional ASP, "On Error resume next" (or try-Catch Block in JScript) is used to handle errors. Alternatively, if you are running Microsoft Internet Information

Article 4 of the 28 code of ASP performance optimization proposed by Microsoft

Tip 22: Try to replace response. Redirect with server. Transfer. Response. Redirect allows the browser to request another page. This function is often used to redirect users to a logon or error page. Because redirection forces a new page request,

Total Pages: 1800 1 .... 703 704 705 706 707 .... 1800 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.