When designing an ERP program, it is necessary to extract public code into a common type library. This can reduce code duplication and improve code utilization.
However, there must be a degree to do everything. Some public code causes excessive
In the root directory of a website developed in ASP. NET, there is a file named web. config. As the name suggests, this is a file configured for the entire website, in XML format.Here we will talk about the section in the file. The section
1. ASP. NET
CodeBehind: "cs after pre-aspx" mode,(1) aspx (control definition, html, css) controls the page appearance and cs controls the Program LogicAspx is the template engine. You do not need to search for a third-party template engine.(2) In
In this demonstration, an interface is used to dynamically load the user control on the webpage, and JQuery is used to pass the webpage processing value to the user control.In programming, I prefer to use interfaces and think they can process the
Repeater
The Repeater (foreach) is used to traverse and display the data in the bound data source in the format. The format of each data entry is determined by the Repeater's , the template is displayed multiple times, just like the statements in
I want to be a file monitoring service over the past few days. I have read many articles about WINDOWS services on the Internet. I only talked about how to make the most basic service, but it does not show how to interact with users. Check MSDN and
The cookie cannot contain Chinese characters because of its inherent encoding method. Therefore, an intermediate encoding is required for transition. URLEncode is the best choice.Take asp.net as an example. The Code is as follows:When setting
You can use the following settings to control the memory usage of ASP. NET hosts on servers. The ASP. NET host process can be set for scheduled reconstruction (similar to timed restart in AppPool in IIS6). This prevents the server from occupying a
1. Introduction to ADO and ADO. NETADO and ADO. NET is both similar and different. They are able to write applications that access and operate data on database servers, and are easy to use, fast, low-memory, and occupy less disk space, supports the
A commonly used data display control in GridView and ASP. NET. Here, I will use this control to display the curriculum. First, what is the difference between the display of the curriculum and the display of common records? The general record here
A friend at the front-end time needs to send some pictures to me, all of which are big pictures. Considering the speed limit, I don't know what tools to use.Write a small tool for capturing and compressing pictures for entertainment.1. By
I made a pull-down prompt for Baidu search box that was not partially refreshed. After being approved by the leaders for n times and asked for n times, I got it. I really feel like I am a little confused, it's too cool and too lazy. Record it to
A brother in the blog asked me a question about how the dynamically created control loads the view status. He also mentioned calling the ProcessPostData method. Here I will use the TextChanged event of TextBox to describe how to load View data and
Half a year ago, I wrote several articles about asp.net cms in the blog garden. At that time, my cms was not available yet. It's all a bit exaggerated. Now I have deleted those articles.Today, I want to express my feelings for writing this
The method marked with the virtual keyword is called a virtual method. If the subclass wants to change the implementation details of the virtual method, the override keyword must be used.Abstract class Abstract keywords Prevents meaningless basic
Of course, there are many aspects of website performance optimization. Here we will first talk about the results of these days:1. the habit of writing code;The complicated logic also begins with the simplest one. In the process of writing code, many
As mentioned in the introduction to the concept of "Network hard disk", each user has his own space on the "Network hard disk. In the following program design, a fixed folder is provided for users. Under this folder, users can add/delete new folders
. Do not write all the code to the. cs page for. net, instead of using convenient control operations provided by.. Do not think. net is to drag various controls to the page, and then set it easily through.. Do not think that. net needs to read all
In the asp.net program, you can choose to use the Crystal Report, which is indeed powerful. However, the web-based Crystal reports seem to have copyright issues. If the report is not a complex mess, you can use the Rdlc report that comes with
Control rendering is the process of writing markup text to the HTTP output stream. The server sends the generated markup text to the client through the HTTP output. The text will be converted to visualized elements through the client browser. By
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.