ArrayList list = new ArrayList();
            list.Add(new { id = "0", value = "--请选择--" });
            list.Add(new { id = "1", value = "一般案件" });
            list.Add(new { id = "2", value = "银行案件" });
            this.cboSource.DataSource = list;
            this.cboSource.ValueMember = "id";
            this.cboSource.DisplayMember = "value";

相关文章:

  • 2021-07-18
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-26
  • 2022-01-08
猜你喜欢
  • 2021-06-15
  • 2021-06-10
  • 2021-08-24
  • 2022-01-18
  • 2021-09-19
相关资源
相似解决方案