J
J055
Hi
I have a created a typed DataSet (VS 2005). A couple of columns return sql
tinyint types which ideally need to be cast to predefined enums for use
throughout the application. It seems that it would be good to do this in a
partial class of the typed DataTable. I would also need to convert the enum
back to the tinyint before inserting/updating the database.
What is the best/cleanest way of doing this? An example would be really
great because I don't know if I have to use an event or override a property.
Many thanks
Andrew
I have a created a typed DataSet (VS 2005). A couple of columns return sql
tinyint types which ideally need to be cast to predefined enums for use
throughout the application. It seems that it would be good to do this in a
partial class of the typed DataTable. I would also need to convert the enum
back to the tinyint before inserting/updating the database.
What is the best/cleanest way of doing this? An example would be really
great because I don't know if I have to use an event or override a property.
Many thanks
Andrew