开发者

I want to make a Countries Combobox in C#.net [closed]

开发者 https://www.devze.com 2023-03-06 17:12 出处:网络
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its current form. For help clari
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 开发者_JAVA技巧11 years ago.

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;
0

精彩评论

暂无评论...
验证码 换一张
取 消