What is the bet approach to implement unity with sql server database?

I have tried to implement unity with sql server database directly using System.Data.dll, but I does not work with web player. Please give some suggestion?

Use the WWW and WWWForm APIs to talk to your database server.