Basically the answer is no. Either use ODBC or OLEDB.
Connecting to SQL server using SQL Client and DSN
-
30-06-2022 - |
Question
Would it be possible to connect to SQL server using DSN however using SqlClient rather than ODBC.
As a matter of fact we have to upgrade a legacy VB6 component however we have to keep the user suitability same ie the users are connecting to database using a DSN.
I would like to avoid ODBC if it would be possible to connect using SqlClient.
Any comments, examples would be appreciated.
ta
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow