Go4Expert

Go4Expert (http://www.go4expert.com/)
-   C (http://www.go4expert.com/forums/c/)
-   -   Ado Connection help (http://www.go4expert.com/forums/ado-connection-help-t20324/)

kenshin88 10Dec2009 03:17

Ado Connection help
 
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 10Dec2009 20:03

Re: Ado Connection help
 
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


All times are GMT +5.5. The time now is 02:47.