Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
Thread: Connection String
05-05-2012, 12:35 AM #1
- Join Date
- Sep 2011
- Thanked 0 Times in 0 Posts
Hello guys I want to change my connection string to point at APP_Data and not a C drive file, how do I do this? I am using VB.NET express and SQL Server Express.
Here it is now, works but I want it to go through APP_Data instead.
Dim str As String = "Data Source=.\SQLEXPRESS;AttachDbFilename=C:\sqlmatthew\Ancestors.mdf;Initial Catalog=Ancestors;Integrated Security=True;User Instance=True"