不绑定,将数据读入ArrayList;ArrayList list = new ArrayList(); list.Add(new { a = "a1", b = "1" }); list.Add(new { a = "a2", b = "2" });comboBox1.Items.AddRange((object[])list.ToArray(typeof(object))); comboBox1.DisplayMember = "a"; comboBox1.ValueMember = "b";comboBox1.Items.Insert(0, new { a="a3", b="3"});
list.Add(new { a = "a1", b = "1" });
list.Add(new { a = "a2", b = "2" });comboBox1.Items.AddRange((object[])list.ToArray(typeof(object)));
comboBox1.DisplayMember = "a";
comboBox1.ValueMember = "b";comboBox1.Items.Insert(0, new { a="a3", b="3"});