Lol, well I could easily turn this into MySQL. This was just a simple request. All you have to do to turn this into MySQL (which would be far less complicated) is make it connect to the database, select the table, and read it ( while (r.Read()) { // my code modified here } ). Easy =]
EDIT: Added, and it's not a contest xP
I do feel that if it's my code then I should be the one to code the other option. I coded that MySQL method without the source open so if it has errors, fix them.