My first attempt to connect to SQL Server from .NET so please be gentle <g>.
The SQL Server I am trying to connect is on my pc. I tried the following syntax for connection string:
string strConn = "server=(local);database=MyDatabase;integrated security=true;";
I am getting an error when trying to Open the connection. The error is:
Login failed for user 'NOTEBOOK\ASPNET'
"NOTEBOOK" is the name of my PC. What am I not specifying in the connection string?
Thank you.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham