Hi,
You can use set it as int and cast it back when retrieving the value
at the end you will always need to cast it back to the correct type
additionally you could try
DataColumn( "theColumn", typeof(System.Enum) )
But I have never tried the above, so no idea if it will work or not
an Int is the best option I think
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"UJ" <fr**@nowhere.com> wrote in message
news:Ou**************@tk2msftngp13.phx.gbl...
I have a datatype that I want to use as a type for a column (It's an
enumeration.) but I can't get the syntax right.
Can you even do it? Or do I need to do it as a string and convert it back
and forth?
TIA - Jeff.