一、IList

      现在我们直接创建一个List集合,然后绑定

1 IList<string> list = new List<string>();
2 list.Add("111111");
3 list.Add("222222");
4 list.Add("333333");
5 list.Add("444444");
6 comboBox1.DataSource = list;
View Code

相关文章:

  • 2021-11-24
  • 2022-12-23
  • 2021-05-31
  • 2022-02-18
  • 2022-12-23
  • 2022-01-17
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-06-15
  • 2021-06-01
  • 2022-12-23
相关资源
相似解决方案