Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
The process of adding a DropDownList Web server control to a page consists primarily of setting options that specify how items should be displayed and whether users can select multiple items.
To add a DropDownList Web server control to a Web Forms page
Type an
<asp:DropDownList>element into the page. For syntax, see DropDownList Web Server Control.Create items for the control in one of the following two ways:
By creating them as individual items. For details, see How to: Add Items in List Web Server Controls.
By binding data to the control. For details, see How to: Populate List Web Server Controls from a Data Source.