I was trying to build a sample windows mobile application.

I am accessing a webservice which exposes 1 function and 1 enumeration value.

I want to bind a combobox to the values retrieved from the Webservice's enumeration value.

How to do this I found the following code

comboBox1.DataSource = Enum.GetValues(typeof MyValues);

but this is only for ordinary windows application. In compact framework the function Enum.GetValues() doesnt exists.

How to go about Please help me with a sample code for the same.

Thanks in advance for your help.



Re: .NET Compact Framework Populating Combobox with Enumeration Values

Ilya Tumanov

See this.