View Full Version : Connection String

05-04-2012, 11:35 PM
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"