Click here to Skip to main content
15,890,123 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I haven't study database yet but my semester project required database, so please help me in connecting to database.
Posted
Updated 24-Nov-14 7:32am
v2
Comments
joshrduncan2012 24-Nov-14 13:06pm    
What have you tried? Where are you stuck? Can you show us your attempt at getting the db connection up and running?

1 solution

hi,
it would have been more helpful had you mentioned which database are you interested in.
Oracle is an object-relational database management system. To connect with an Oracle database you can use OCI. Look here[^] for more. You might still have to google more on this.

MySql is another popular database. I found this link[^]helpful.
These interfacing libraries are not specific to VS2012 but just go through the literature to make sure which versions are compatible with your IDE of choice.
You might find it helpful to start by building the sample programs and running them.

hope this helps !
 
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