Nóta
Aðgangur að þessari síðu krefst heimildar. Þú getur prófað aðskrá þig inn eða breyta skráasöfnum.
Aðgangur að þessari síðu krefst heimildar. Þú getur prófað að breyta skráasöfnum.
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
From the Standard tab of the Toolbox, drag a DropDownList control onto the page.
Adding items to the control is a separate process that depends on whether you will display a static list in the control or a list that is generated dynamically at run time. For details, see How to: Add Items in List Web Server Controls.