当从数据库中获取数据时根据名称填写到组合框...</p>
SqlConnection con = new SqlConnection(@"Data Source=CENTAUR09-PC\SQLEXPRESS;Initial Catalog=Sample;Integrated Security=true");
SqlCommand cmd = new SqlCommand("Select cust_name from customer", con);
con.Open();
comboBox1.DataSource = cmd;
comboBox1.DisplayMember = cmd.ToString();
con.Close();
... 数据源和显示成员是什么?