如何將List綁定到ComboBox?我想連接一個BindingSource類對象列表,然后將對象值連接到一個ComboBox。誰能建議怎么做?public class Country{
public string Name { get; set; }
public IList<City> Cities { get; set; }
public Country()
{
Cities = new List<City>();
}}是我的類,我想將其name字段綁定到BindingSource,然后可以與ComboBox關聯
- 3 回答
- 0 關注
- 1146 瀏覽
添加回答
舉報
0/150
提交
取消