摘要:
C#遍历ComboBox的内容:一:for (int i = 0; i < comboBox1.Items.Count; i++){ MessageBox.Show(comboBox1.GetItemText(comboBox1.Items[i]));}二:foreach (System.Data.DataRowView dr in comboBox1.Items){ string id = dr["student_id"].ToString(); string nane = dr["student_name"].ToString();}//for 阅读全文
posted @ 2011-12-13 21:58
冬雨在路上
阅读(15540)
评论(2)
推荐(1)
浙公网安备 33010602011771号