In asp.net, because the event model is adopted, by default, the web form control submits information to the original page, and the ispostback attribute is used to determine whether to load for the first time, if you want to submit to another Page, you need to set the PostbackUrl attribute of the button control to specify the Page to be submitted. The submitted Page obtains the corresponding value using the attributes and methods of the PreviousPage object of the Page object.
When using Request in Asp, you need to remove the runat = "server" tag in Form, and then you can use Html syntax to get the value using the relevant attributes of the Request, however, one condition is the html control used. You must add the runat = "server" attribute to access the relevant content in the related attributes of the Request.
Common response in Asp. write is basically useless in asp.net. If other content already exists in the page, the result of calling this method is to output the content before all the labels on the page, leading to page confusion, generally, a Label-like control is added to display the specified content.
I recently read a book named asp.net 3.5 advanced programming. I saw Chapter 23. How can I wonder if I didn't introduce the Request and Response methods? This is one of the reasons.