A code snipet from http://imar.spaanjaars.com/QuickDocId.aspx?quickdoc=420
(see this code as well)
Suppose you have enum PersonType and want to populate lstPersonType drop-down box with its values.
It is very easy with Reflection:
Wednesday, March 26, 2008
How to fill drop-down box with Enum values
Comments for this post
All comments