ADO.NET DataColumn enumeration
Posted on 2004-10-08
Let us assume that one of my MySQL tables has an enum column, defined as follows:
status ENUM( 'open', 'accepted', 'rejected' ) NOT NULL
I would like to define a DataColumn in my DataTable that matches this type. Unfortunately, a DataColumn cannot be of type ‘enumeration’. How am I going about this? How can I match this MySQL data type?
Many thanks in advance.