connection into SQL Server Express 2005 | SQL Server Performance Forums

SQL Server Performance Forum – Threads Archive

connection into SQL Server Express 2005

How to connect to SQLServer Express 2005 using Visual C++ 6.0,not using DSN.
I am use SQL server authentication.
Could you provide example with sql execution or link.
Mohammed U.
Also refer Regards Hemantgiri S. Goswami
"Humans don’t have Caliber to PASS TIME , Time it self Pass or Fail Humans" – by Hemantgiri S. Goswami
Hemant’s link provides the required connection string to use if you are willing to use third party type of drivers. Satya SKJ
Microsoft SQL Server MVP
Contributing Editor & Forums Moderator
This posting is provided AS IS with no rights for the sake of knowledge sharing.
I connected into MSSQL 2005 express.
I used
_ConnectionPtr conn("ADODB.Connection");
and Open method.
I never used it before.
How to issue sql statement and fetch some data.
Could you provide link ?