21.5. Web Controls

This section introduces some of the Web controls located in the Standard section of the Toolbox (Fig. 21.9). Figure 21.15 summarizes some of the Web controls used in the chapter examples.

Figure 21.15. Commonly used Web controls.
Web ControlDescription
LabelDisplays text that the user cannot edit.
TextBoxGathers user input and displays text.
ButtonTriggers an event when clicked.
HyperLinkDisplays a hyperlink.
DropDownListDisplays a drop-down list of choices from which a user can select an item.
RadioButtonListGroups radio buttons.
ImageDisplays images (e.g., GIF and JPG).

21.5.1. Text and Graphics Controls

Figure 21.16 depicts a simple form for gathering user input. This example uses all the controls listed in Fig. 21.15, except ...

Get Visual Basic 2005 for Programmers: Deitel Developer Series, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.