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!
***************************
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.