舉例 comboBox2.DataSource = listmembername;(arraylist 物件)
而更新comboBox時要先指定為NULL再重新指定。
comboBox2.DataSource = null;
comboBox2.DataSource = listmembername;
有事過不先指定為NULL不會更新。
而更新comboBox時要先指定為NULL再重新指定。
comboBox2.DataSource = null;
comboBox2.DataSource = listmembername;
有事過不先指定為NULL不會更新。
全站熱搜
留言列表