tags:

views:

211

answers:

1

I'm developing a VS 2008 C# coded Windows media player using axWindows media player control available in Visual 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.

+1  A: 

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.

Brandon Bodnár