Self Populating DropDownList
Posted by: Vault of Thoughts,
on 13 Mar 2007 |
View original | Bookmarked: 0 time(s)
Every once in a while while working with ASP.NETthere comes a time when you
need to have a DropDownList with a fixed set of items. Or maybe the items are retrieved
from the database, but still every instance of the control will have exactly the same
items. How to do it efficiently?
Lets look at the simple example of a DropDownList with country names - the one you
see on many pages. Wouldn't it be nice to have a reusable control for this?
The simplest...