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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to get data from database and vice-versa 1

Status
Not open for further replies.

wardhan

Programmer
Sep 15, 2001
10
JP
DEar Sir/Friends
i want to store my program varibales say pText[n]@in a database from win32 aplication.and to access from database(say MS-Access).So please write to me the method of doing this.i am new to VC++,kdly help me in getting the solution.
Thanks in advance
Binay
 
But, probably would be of some help to browse through the MSDN documentation for CRecordSet MFC class... [red]Nosferatu[/red]
We are what we eat...
There's no such thing as free meal...
once stated: methane@personal.ro
 
It's probably easier to build a complete application and add the database functionality. First setup your database and create a DSN name in Control panel. Then create a new project through the appwizard and make sure you include database support -> finish the appwizard and immediately you have a working database program. Its now up to you to add the functionality. You could check out Insert->component-> MSDataGrid for an Access grid interface or read the MSDN article on Database. Hope this helps.

Jcan
 
Dear Jcan
Thanks for ur reply.I am doing my project using WIN32API,so with how i can use Appliwizard for connecting database to my application.So kindly let me know how to do this for win32 api.
Once again thanks for replying.
Binay
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top