For beginners, take care of them.
The http protocol is stateless. When you click the submit button, it is submitted to the processing page. If the current page is processed, In the aspx page, the result is a combination of the page before submission
Introduction
In the two articles, Http request processing process and Http Handler introduction, we first understand the processing process of Http requests on the server side, then we know that the Http request will eventually be processed by the
1. Calculate the number of days between two dates
System. DateTime dtA = (DateTime) this. StartDate. Text;
System. DateTime dtB = (DateTime) this. EndDate. Text;
TimeSpan c = db-da;
Response. Write (c. TotalDays );
2. string format required for date
I haven't written this article for a long time. This time I encountered the following question: "No need to attach a database or modify the web. config is so troublesome. Instead, you can directly run a page and then guide the user step by step
Introduction
Coolite Toolkit is a Web control that supports ASP. net ajax.
Coolite Toolkit is developed based on a cross-browser ExtJS library and simplifies the development steps and contains a wide range of Ajax applications.
Both Coolite Toolkit
Problems to be Solved:Upload the following URL as a parameter to other pages1 http: // domain/de. retrial? Uid = 12 & page = 152. The parameters following the url contain Chinese characters, such as:... aspx? Title = craneIn the above case, an RUL
Not long ago, I saw the news ". NET 4's new features: charts, SEO and scalable output cache", and I realized that there is already SEO In. NET4.0. When it comes to SEO, it reminds me of the SEO processing problems encountered in an ASP. net mvc
Many people are asking questions about the pop-up dialog box, which are summarized as follows:I. Use js scriptsResponse. Write (" ");
Page. ClientScript. RegisterClientScriptBlock (GetType (), "", " ");
2. Add the click attribute for the
Http request processing process
When an Http request arrives at the server
When the WEB server receives an Http request, IIS first needs to determine how to process the request (NOTE: the webserver must process a .htm page and A. aspx page ). So
Why use the master page? To unify the overall site style, any WEB application should use the master page. In the MVC framework, there is a new way to pass data to the master page.A web application can contain multiple master pages, which are used to
The Action filter is the attribute added to the top of the Action in the Code. The MVC Framework contains some filters, such:OutputCache-indicates that the Controller caches the returned results within the specified time.HandleError-handle the
Sometimes we need to perform operations on the html generated by the server before sending the html generated by the server to the client, such as generating static html and saving and changing some content in the generated html, the following
First glance at MARQUEE: The Marquee tag is used to scroll text in the available browsing area. This tag is only applicable to browsers later than ie3.Format:BEHAVIOR = "... "Once the text appears on the page, the browser can process the text as set.
1. Question: Is the background font displayed in reverse mode? The effect is as follows:
Cause: Because Asp.net uses UTF-8 encoding, the original use of GB2312 causes garbled characters.
Solution: Add the following code snippet to Web.
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.