
The DropDownList control provides a single-select drop-down list. The following sample illustrates using a simple DropDownList control. In addition to programmatically databinding, as shown in the example above, you can also data bind a DropDownList declaratively to a data source control. The following example shows a DropDownList bound to the Authors table in the Pubs database.
|