The HtmlForm control is a very important component in designing dynamic web pages. Through this control, data can be transferred between the Client side and the Server side.
When making web pages, we often encounter the processing of form data. Through the HtmlForm control, the client-side data can be uploaded to the server-side for processing. If the confirmation button in the web page is pressed, all data input controls wrapped in the Form control will be sent to the server. This means that after the server receives these data and the OnServerClick event, it will execute the specified event program and re-download the execution results to the client browser.
Its main attributes are:
Method: Post / Get; the difference is that Get means that the browser actively uploads data to the server, which is transmitted immediately. Its execution efficiency is fast but the amount of data transferred cannot be too large; while Post means that the data is uploaded by the browser to the server immediately. The server fetches the data, although not immediately, but there is no limit to the amount of data that can be transferred.
Action: The page where the data is to be submitted, that is, the URL to which the data is sent. The default is yourself.