C# 数据表绑定comboBox

 

    comboBox1.DataSource = new DataSet().Tables[0];          //绑定数据表

  comboBox1.DisplayMember = "数据库字段名";        //绑定字段

posted on 2010-01-13 13:09  VictorShan  阅读(268)  评论(0编辑  收藏  举报

导航