Combox Edit không có bindding datasource!
Sử dụng:
//Use a DataTable
DataTable dt = new DataTable();
dt.Columns.Add("PersonName", typeof(string));
foreach (DataRow row in dt.Rows)
{
comboBoxEdit1.Properties.Items.Add(row["PersonName"]);
}
//Use a List<string>
List<string> People = new List<string>();
People.Add("Brendon");
People.Add("Joe");
People.Add("Bill");
comboBoxEdit1.Properties.Items.AddRange(People);