Recommended: Set the C# subform to be displayed in the center in the main form The beginning of the problem was raised by C# transmission and reading the wake-up in the main group. Let me talk about the solution below. Actually, it seems to be a very simple start on the surface. There are two forms, Form1 main form, Form2 sub-form, and I believe that most people will write this in the Load event of the sub-form. This is how this.StartPosition = FormStartPosition.CenterParent;
ASP (Abbreviation of Active Server Page)
It means the active server web page. ASP is an application developed by Microsoft to replace CGI scripting programs.
It can interact with databases and other programs and is a simple and convenient programming tool. The format of ASP's web page file is .asp, and it is now commonly used in various dynamic websites.
ASP is a server-side scripting environment that can be used to create and run dynamic web pages or web applications.
Features and functions of ASP
From the software technical perspective, ASP has the following characteristics:
1. No need for compilation
ASP scripts are integrated into HTML and are easy to generate and can be directly interpreted and executed without compilation or linking.
2. Easy to generate
Use a regular text editor (such as Notepad under WINDOWS) to design all .asp pages. If you consider work efficiency, you might as well choose software with visual editing capabilities.
3. Independent of the browser
The user side can browse the home page designed by ASP as long as it uses a browser that can interpret regular HTML code.
ASP scripts are executed on the site server side, and the browser on the user side does not need to support it. Therefore, if you do not observe all .asp homepages by downloading from the server, you will not see the correct page content on the browser side.
4. Object-oriented
In ASP scripts, you can easily refer to system components and ASP built-in components, and you can also expand functions by customizing ActiveX Server Component (ActiveX Server Component).
5. Good compatibility
Compatible with any ActiveX scripting language, in addition to designing using VBScript and JScript languages, other scripting languages provided by third parties can also be used in Plug-in.
6. The source program code will not leak
The ASP script is executed on the server, and the only thing that is transmitted to the user's browser is the regular HTML code generated by the ASP execution result, which ensures that the program code written with great effort will not be stolen by others.
From the application level, ASP has the following functions:
1. Process the form input sent by the browser to the site server.
2. Access and edit server-side database tables. Use a browser to enter, update, and delete data from the site server's database.
3. Read and write files of the site server, implement functions such as visitor counters, mottos, etc.
4. Provides built-in functions such as advertising carousel, obtaining browser information, and URL table management.
5. Read and write the hard disk files of the user side by cookies to record the user's data.
6. It can be realized to share information among multiple home pages to develop complex business site applications.
7. Use simple scripting languages such as VBScript or JScript, combined with HTML code to quickly complete the application of the site.
Execute scripting language through the site server, generate or change the scripting language executed on the client.
8. It has strong ability to expand functions. You can use Visual Basic, Java, Visual C++ and other programming languages to create ActiveX Server Components to meet your special needs.
The general characteristics of dynamic web pages are summarized as follows:
(1) Dynamic web pages are based on database technology, which can greatly reduce the workload of website maintenance;
(2) Websites that adopt dynamic web technology can realize more functions, such as user registration, user login, online survey, user management, order management, etc.;
(3) Dynamic web pages are actually not web page files that exist independently on the server. The server returns a complete web page only when the user requests;
(4) In dynamic web pages? There are certain problems with search engine retrieval. Search engines generally cannot access all web pages from a website's database, or for technical reasons, the search spider does not crawl the URL?
For the following content, websites that use dynamic web pages need to do some technical processing when promoting search engines to adapt to the requirements of search engines.
The so-called static web page means that there is no program in the web page file, only HTML code, generally a web page with suffix of .html or .htm, the content of the static website will not change after the production is completed, and anyone will display the same content. If your content changes, you must modify the original code and then upload it to the server.
The so-called dynamic web page means that the web page file not only has HTML tags, but also contains program code and is connected by a database. The dynamic web page can display different contents according to different times and different visitors. It is easy to update the dynamic website and is generally updated directly in the background.
Source of the article: Dalian website construction
Share: Three solutions for visual studio real-time debugger always pops up Recently, the server has been popping up the visual studio real-time debugger, which is very depressing. It can't be turned off. How to solve it? As shown in the figure below: Let's analyze the reason for this situation together: Popup application: Visual Studio Real-time Debugger: An unhandled exception (subscript cross-border: '[number: 0]'), and the occurrence location is w3wp.exe [2472].