| Author: R.Sujaa 10 Aug 2008 | Member Level: Silver | Rating:  Points: 4 |
strConnect = _T("Data Source=MyServerName;" "Initial Catalog=MyDatabaseName;" "User Id=MyUsername;Password=MyPassword;");
Dont use provider for sql connectivity since provider sqloledb is used only for oledb connectivity
try connecting without provider definition in the connection string
|