문제

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

도움이 되었습니까?

해결책

Basically the answer is no. Either use ODBC or OLEDB.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top