Hi,
I'd like to use a dropdownlist in a formview to map numeric values to
'user-friendly' descriptions. The dropdownlist items' values need to be
bound to a column in a db table. For example, users might see "Type1",
"Type2", and "Type3" but corresponding values stored in db are 1, 2, and 3.
Seems like a very common scenario. Could anyone please let me know what the
best practice is in this case? Should I create a custom data source or
simply bind an array to the dropdownlist in Page_Load()? I remember seeing
a sample that I liked (might've been one of Scott Mitchell's tutorials) some
time ago but can't find it now.
I'm quite comfortable with binding db data sources to controls.
Thanks,
Bogdan