Silverlight is hosted in internet browser (Mozilla, IE, ecc);
this way your Silverlight app simply cannot access to a database just with a SQLConnection.
In order to operate with a db, using a webservice is a (the?) way.
In this post you may find a simple guide for your “Hello database!” sample app, via C#. 😉