IWMPPlaylist playList = player.playlistCollection.newPlaylist("MyPlayList"); //新建列表 IWMPMedia media; foreach (DataRow drItem in MusicSettings.DtMusic.Rows) { media = player.newMedia(drItem["路径"].ToString()); //参数为歌曲路径 playList.appendItem(media); } player.currentPlaylist = playList; player.Ctlcontrols.play(); //开始播放