如题所述
我已经解决了方法是.遍历comboxforeach (System.Data.DataRowView dr in comboBox1.Items){ string id = dr["student_id"].ToString(); string nane = dr["student_name"].ToString();}