I want to make a Countries Combobox in C#.net [closed]
i have a combobox in C#, does any body have a hard coded countries combobox code, having all the countries, so i can quickly paste it in my code.
Thanks a lot for help. Atif
here.
You might have solve this with a little bit google.
How to make a Countries Combobox in C#.net?
It's easy. Just grab a list of countries and make it the DataSource
:
IList<string> countries = GetCountries();
comboBox.DataSource = countries;
精彩评论