Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Looking for sample code for Visual C++

Status
Not open for further replies.

Visual

Programmer
Nov 19, 1999
1
US
How do you program your Visual C++ application to add and delete information from a database?
 
While creating an application you have to select an option <br>
which says Database Support <br>
and then it asks you the name of the database <br>
the use the class CRecordSet to do anything you want with the databse.<br>

 
There are some classes which provide these functions. Like add, modify, delete and other DML functions. You need to register the database first. Then by using these functions you can get&nbsp;&nbsp;your job done. There is a class CRowSet and a lot others. I depends whether you want to use ADO or ODBC classses<br>Thanx<br>Siddhartha Singh<br><A HREF="mailto:ssingh@aztecsoft.com">ssingh@aztecsoft.com</A>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top