1. Write to the registry:
Registry File: myreg. Reg
Content:
Regedit4
[HKEY_CURRENT_USER \ Software \ Microsoft \ Internet Explorer \ menuext]
[HKEY_CURRENT_USER \ Software \ Microsoft \ Internet Explorer \ menuext \ add to my network Abstract]
In updatepanel, when textbox exists in contentcomplate, Chinese characters are garbled.
There are two solutions:1. Add in Web. config2. In the backgroundCodeDecoder operations with garbled characters
The above two are not good solutions. The
When web pages are posted back to the server, by default user is returned to the top of the page. on a large web page, you might have a requirement to scroll down the user automatically to the last position on the page.
For Web applications, unexpected errors and exceptions are inevitable. We must provide error handling mechanisms for Web applications. When an error occurs, we must do two things: first, record the error information and send an email to the website
Create hashtable
The hashtable object contains the items represented by key/value pairs. The key is used as an index. By searching its key, you can quickly search for the value.
Use the add () method to add a project to hashtable.
The following code
When ASP is a beginner, the program can barely be written. However, every time a website page is revised, all source programs will be transplanted. The amount of manpower and energy it consumes is countless, and even the loss is not worth the candle.
In complex business applications, sometimes one or more tasks are required to be scheduled at a certain time or interval, such as regular backup or database synchronization, this is called scheduled tasks. There are also many ways to schedule tasks.
I hope that you can see this title to see its functions:
1. With templet means that a preset template will be used for the generated page architecture. I have introduced this in a previous tutorial, I hope you will be familiar with ASP template
Document directory
Introduction
Important attributes
Example
I used to see Google, thunder, and other websites entering text in the search text box can automatically prompt, I feel this function is very dazzling and practical. now I have
Document directory
Introduction
Important attributes
Example
Introduction
The textboxwatermark control is a watermark control used for textbox. Before entering text in the text box, there are some prompt text in the text box, and you can
Document directory
Introduction
Important attributes
Example
Introduction
The passwordstrength control is used to prompt the user to enter the password. When the user enters the password in the password box, a prompt is displayed at the end of
In updatepanel, when textbox exists in contentcomplate, Chinese characters are garbled.
There are two solutions:1. Add in Web. config2. decoder operations with garbled characters in the background code
The above two are not good solutions. The
Recently, I am helping a friend build a management system, which uses ASP. net menu control, because my Chrome browser is the default, after running it, it is found that the level-2 menu cannot work out normally. The solution for online detection is
Document directory
Introduction
Important attributes
Example 1
Example 2
Introduction
We can see from the name that this is a menu control. When you move the mouse to a specified position, a menu appears without affecting other elements and
1. database access performance optimization
Database Connection and Shutdown
To access database resources, you need to create a connection, open a connection, and close the connection. These processes need to exchange information with the database
There are various very beautiful CSS menus on the network, but most of them are static, and menu items are all written to the page, which is not very flexible, every time you want to modify the menu, you must modify the page. The following describes
Introduction
URL ing is a new feature of Asp.net 2.0. It allows developers to map one page to another. If a URL request comes in, the program will automatically remap it to the server. For example, if you configure ~ /Beverages. aspx ing ~
I have developed an ASP. net upload large file code, because it was developed under net1.1 and found that it could not be run under net.20. The problem was solved a few days ago. Now I have sorted out the entire development process, for your
ASP. net Ajax entry series will write about ASP. net Ajax some controls use methods and basic knowledge, some of which are original, some of which are directly translated from the official documentation, this part of the content will be constantly
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