I'm developing a VS 2008 C# coded Windows media player using axWindows media player control available in Vis开发者_运维百科ual Studio. I have stored the song paths in a SQL server 2005 database and I'm able to play one song at a time now. I want my application to play the songs from the database continuously without asking anything. How can I achieve this task , please suggest me the way to do so.
You can either pass in the song list as a whole playlist, or you may want to use the PlayStateChange event to listen for when the current song ends and then load up the next song when that happens.
精彩评论