Ado Connection help

kenshin88's Avatar, Join Date: Dec 2009
Newbie Member
Hello everyone. i would help about adoconnection. In c++ there is an easy way to connect your database and c++ program through adoconnection controls. The thing is i need to connect my database without those controls. If anyone knows the programming code would be helpfull!!!
Gene Poole's Avatar, Join Date: Nov 2009
The easiest way is to wrap a custom class around the ADO COM object. There are hundreds of interfaces in the ADO object, but you probably only need a few for simple SQL.

A quick search of and show several decent implementations that can probably get you started: