获取ComboBox下拉列表的所有选项值

            ArrayList al = new ArrayList();
            foreach (string item in this.comboBox2.Items)
            {
                Console.WriteLine(item);
                al.Add(item);
            }
View Code

相关文章:

  • 2022-02-15
  • 2021-10-23
  • 2021-07-08
  • 2021-07-07
  • 2021-05-27
  • 2022-12-23
  • 2021-11-06
  • 2021-12-09
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-09-24
  • 2022-01-26
  • 2021-08-25
  • 2022-01-07
  • 2022-02-04
相关资源
相似解决方案