ds = new DataSet();
DBHelper dbHelper = new DBHelper();
// 查询歌曲类型的Sql语句
string sql = "select * from song_type";
SqlDataAdapter adapter = new SqlDataAdapter(sql, dbHelper.Connection);
adapter.Fill(ds, "song_type");
// 绑定歌曲类型到下拉列表中
this.cboSongType.DataSource = ds.Tables["song_type"];
this.cboSongType.ValueMember = "songtype_id";
this.cboSongType.DisplayMember = "songtype_name";