HTML Forms and ASP Forms

HTML forms are at the heart of any Web-based application—they provide the standard way of gathering input from users. Figure 16-4 shows a simple HTML form. This form is part of an online cake ordering service and allows the user to determine how many people a cake of a certain size with a particular type of filling will serve.

A simple HTML form

Figure 16-4. A simple HTML form

The HTML required to generate this form is fairly simple; it is shown in the FeedsHowMany.htm sample file listed below. As you can see, the form consists of three user input controls: two text boxes and a Submit button. These controls allow the user to specify a cake size ...

Get Microsoft® Visual J#™ .NET (Core Reference) now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.