摘要: comboBox.DataSource = ds.Tables[0]; comboBox.DisplayMember = "name"; comboBox.ValueMember = "val"; comboBox.Items.Insert(0, "--请选择—");这样出现:设置 DataSource 属性后无法修改项集合方法:DataTable dt = ds.Tables[0];... 阅读全文
posted @ 2010-04-14 17:11 94cool 阅读(685) 评论(0) 推荐(0)