舉例 comboBox2.DataSource = listmembername;(arraylist 物件)

而更新comboBox時要先指定為NULL再重新指定。

  comboBox2.DataSource = null;
  comboBox2.DataSource = listmembername;

有事過不先指定為NULL不會更新。
arrow
arrow
    全站熱搜

    戮克 發表在 痞客邦 留言(0) 人氣()