Asp. NET learning notes the difference between 006--get and post
Source: Internet
Author: User
Previously written courses are not attached to the source code, I am sorry!
In the course of the source code can add QQ request: 1606841559
Technical Exchange QQ1 Group: 251572072
Technical Exchange QQ2 Group: 170933152
You can also download it yourself:
ASP. NET learning notes the difference between 006Get and post. zip Http://credream.7958.com/down_20148106.html
Then the project of the class:
<! DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 transitional//en" "Http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd ">
<title></title>
<body>
<form action= "Hello2.ashx" method= "Get" >
<input type= "hidden" name= "IsPostBack" value= "true"/>
Name: <input type= "text" value= "@value" name= "UserName"/>
<input type= "Submit" value= "submitted"/>
@msg
<!--
The server only has the name attribute, and if the Name property repeats, it will only submit the first
ID is used for DOM
Six lessons:
<form action= "Hello2.ashx" method= "Get" >
Get:1.url transfer value, different browsers can be transmitted in length, the general more than 2000, some browsers more than 4,000
2. When refreshing, do not prompt for retransmission
3. form field Submit if set Name,value will also be submitted to the background
Post:1.http Message Transmission
2. Refresh time, Prompt retransmission
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