F
Franky
does anybody know how to use all values of an enumeration in a combobox?
i have an enum type defined like
public enum EnumTest
{
val1 = 1,
val2 = 2,
val4 = 4,
}
i would like to bind this to a combobox so that i can use 'val1' als the
displaymember of the combobox and the int as the valuemember.
any ideas?
thanks,
Dries
i have an enum type defined like
public enum EnumTest
{
val1 = 1,
val2 = 2,
val4 = 4,
}
i would like to bind this to a combobox so that i can use 'val1' als the
displaymember of the combobox and the int as the valuemember.
any ideas?
thanks,
Dries