but dont attach the database in your in your application. let it reside in the db sarver derectory.
configure the msslq server to sql serve authentication mode.
at you application config...
<connectionStrings> <add name="sampleConnectionString" connectionString="Data Source=ServerName or IP Address\SQLEXPRESS;Initial Catalog=dbname;User ID="your user ID";Password="your password"> </connectionStrings>