Click here to Skip to main content
15,905,616 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello,

I need sample application for DataBase connection with below operations,
1] Connect to DB
2] Get data from EMP table
3] Set data for EMP table

Could you please help me out.
Posted

1 solution

Have you tried google for this
Following articles of code prject may help you.
1)for connection
Database Development using Visual C++ and OLE DB: Establishing the connection[^]
2)for connction string
ADO Connection Strings[^]
And this is too for getting data from database
Using ADO from C++[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900