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:
I see this as a convenient place for me and my fellow software developers to share our thoughts.
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: