I'm just starting out here. Can't figure out why I cannnot establish a connection string.
Heres my code: Dim objConnection As New SqlConnection("server=localhost\database=SingleTreatmentReviews")
SingleTreatmentReviews is the name of my database. I don't have a password that I know of. It just says connection not established.
Here's from my app config code: "Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\SingleTreatmentReviews.mdf;Integrated Security=True;Connect Timeout=30;U
???
Heres my code: Dim objConnection As New SqlConnection("server=localhost\database=SingleTreatmentReviews")
SingleTreatmentReviews is the name of my database. I don't have a password that I know of. It just says connection not established.
Here's from my app config code: "Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\SingleTreatmentReviews.mdf;Integrated Security=True;Connect Timeout=30;U
???