Click here to Skip to main content
15,868,164 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
am doing SDK(win32) VC project but facing problem in fetching data from db can any body please send me the perfect code for fetching or inserting data in db using VC sdk programming
Posted

for connecting to DB from VC++, you can use ADO. That makes the task easy and fast. I have alreday given a solution to someone else on this and the issue is solved. Here it is

How to connect to access by ODBC in VC++ 2010[^]
 
Share this answer
 
There is no "perfect code." What do you have so far? If you want examples, start here.[^]
 
Share this answer
 
Comments
Lakamraju Raghuram 12-Apr-12 15:06pm    
+5
shwethaprasad wrote:
can any body please send me the perfect code for fetching or inserting data in db using VC sdk programming


No, here you are not going to receive code ready-to-go

shwethaprasad wrote:
am doing SDK(win32) VC project but facing problem


Then post the part of the code where you are having problems and you will then get help to solve your problem or an explanation why is that happening.
 
Share this answer
 
v2

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