SqlConnection using a DSN
C#
2
Posts
1
Posters
0
Views
1
Watching
-
Hi. I'm trying to connect to SQL Server Express using a DSN. The DSN and SSE is set up with Windows NT authentication. I've tried
SqlConnection thisConnection = new SqlConnection("DSN=ESGAS;Integrated Security=SSPI;");
but I get an error saying 'dsn' is not a recognised keyword. Thanks in advance.The FoZ
-
Hi. I'm trying to connect to SQL Server Express using a DSN. The DSN and SSE is set up with Windows NT authentication. I've tried
SqlConnection thisConnection = new SqlConnection("DSN=ESGAS;Integrated Security=SSPI;");
but I get an error saying 'dsn' is not a recognised keyword. Thanks in advance.The FoZ