I am using VS2010 C++ to complie and run a console app to connected with local installed SQLEXPRESS database. while I use control panel ODBC data souce check the connection , I have no problem at all and I can also use SQL server management
studio to connect database, but while I run the program, I always get [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified IM002 error.
I have tried all suggestion from previous posting, check SQL native client installation, reinstall SQL EXPRESS, non of them help me, can any help me out?
bellow is my related program.
#include
Go to the complete details ...