Turn: ASP programming into the first step (2): Understanding the form

xiaoxiao2021-03-06  50

ASP Programming Introduction (2): Understanding Forms

Whether it is ASP, PHP or JSP is network programming, it is inseparable from the user's interaction. The platform of the human-computer dialogue is basically relying on the corresponding text, the list box is input, and then submitted to the database via the button. So learning online programming must understand these input platforms: form (form) its basic format is as follows:


< Input type = "text" name = "Yourname" size = "30" maxlength = "20" readonly value = "You can only read"> 2, type = password doesn't need me to say, I will understand The password input box, the biggest difference is to display as a confidential character when entering information here. The parameters and "type = text" are similar.

Your password: password length less than 15

3, TYPE = file When you upload pictures in BBS, you can't make anything you can't get up in Email :) Provide a platform for file directory input, parameters have Name, size.

Your File:

4, Type = Hidden is very worth noting, usually called hidden domain: If a very important information needs to be submitted to the next page, it cannot be or not expressly ok. In a word, you can't see where Hidden is in the page. The most useful is the value of Hidden.

Your Hidden Info here: