You can reflect out the integral values of the enum and then assign, if this
has to be done dynamically. If not, write a switch case that turns numbers
into the enum value.
---
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
***************************
Think Outside the Box!
***************************
"Yosh" wrote:
What is the best way to convert an integer to a Enum value?
I hope this makes sense.
Thanks,
Yosh