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!!!
0
Gene Poole's Avatar, Join Date: Nov 2009
Contributor
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 codeproject.com and codeproject.com show several decent implementations that can probably get you started:

http://www.google.com/search?source=...=Google+Search

http://www.google.com/search?hl=en&s...er&btnG=Search