Combox的数据源来源于哪?

Combox的数据源来源于哪?

Combox控件可以绑定的数据源包括:
1.DataTable.将查询的结果保存到DataTable中,再将表绑定在控件ComBox的数据源。
this.comboBox.DataSource=userSet.Tables["Table"];
this.comboBox.DisplayMember="NAME";
this.comboBox.ValueMember="ID";
2.DataView.用dataview绑定你需要查询的表,combox绑定到dataview上去。查询结果的选择使用dataview的filter方法,在界面层就可以解决一些数据库查询的问题了!filter方法也适用于直接使用table的defaultview的情况,如下列代码:
//生成查询条件sql;
dataSet.Tables[0].DefaultView.RowFilter=sql;
3.任何实现IList接口的对象如ArrayList.
aList=newArrayList();
aList.Add("1"Combox的数据源来源于哪?;
aList.Add("2"Combox的数据源来源于哪?;
this.comboBox.DataSource=aList;