Tag Archives: Connect VC++ to MSSQL

How to use ADO in native VC++

I have gotten this sample from CodeProject, ADO : 101-level tutorial. The sample is pretty straightforward if you are from VB6 time. The connection string looks very familiar as below. DemoAdo(“Provider=SQLOLEDB.1;Password=ma;Persist Security Info=True;User ID=sa;Initial Catalog=northwind;Data Source=.\\SQLEXPRESS”); Get the Recordset and … Continue reading

Posted in .Net | Tagged , | Leave a comment