You can use attached database.
You can add SQL Database into your project.
And in the configuration file put the the connection string as
Server=.\SQLExpress;AttachDbFilename=|DataDirectory|mydbfile.mdf; Database=dbname;Trusted_Connection=Yes;
Reference:
http://www.connectionstrings.com/sql-server-2005[
^]