Information générale
Catégorie:
The Mere Mortals .NET Framework
Titre:
Bind enum to data-bound combo
Hi all,
Anybody knows how to bind enumeration type to a data-bound combo?
I have the DataSource property set to Enum.GetValues(typeof(EnumType)). Now, how can I set the value member to be able to populate a field from a data table with integer represenation of the selected enum value (or when I browse tyhe records to update the combo)?
Regards
Nick
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement