I have the following connection string: "Data Source=localhost\\SQLEXPRESS;"
, it complains that ''
is an invalid username. I can't quite remember the user name or password commands, nor can i remember if there's anything else i'm missing. Can someone help?
views:
341answers:
2
+1
A:
The simplest option is to use Integrated Security:
@"Data Source=localhost\SQLEXPRESS;Integrated Security=true"
dahlbyk
2009-09-01 22:55:57
would upvote but i'm out right now...
RCIX
2009-09-01 23:02:47