C# 数据表绑定comboBox

 

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

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

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

导航

统计

公告