ADO.NET & SQL
Database
2
Posts
2
Posters
0
Views
1
Watching
-
Using the SQL object in the System.Data Namespace, not ODBC, how do you normally work out what the user's server name is for assigning to the 'server' property of the ConnectionString? Andy
You can't use the System.Data.SqlClient namespace for this. As it requires an active connection to work. You should let the user configure the name of his SQL Server on initial startup. Morty