The simpliest way - you can use tools from System.Security.Cryptography
namespace to encrypt your credentials and then use any obfuscator to make decription process little harder.
But it's only question of time when someone recovers it.
The right way - to hide your database behind web service with public API. It requires more effort but will reduce security riscs significantly.