C# 数据表绑定comboBox
comboBox1.DataSource = new DataSet().Tables[0]; //绑定数据表
comboBox1.DisplayMember = "数据库字段名"; //绑定字段
posted on 2010-01-13 13:09 VictorShan 阅读(275) 评论(0) 收藏 举报
comboBox1.DataSource = new DataSet().Tables[0]; //绑定数据表
comboBox1.DisplayMember = "数据库字段名"; //绑定字段
posted on 2010-01-13 13:09 VictorShan 阅读(275) 评论(0) 收藏 举报