Home > Software engineering >  VC connect to the database
VC connect to the database

Time:11-20

Recently there is a big job, do a interface, can input information and save the information in the database, you can also through the interface to add, delete, modify, query function,

I do interface using VC6.0, at the same time using Navicat mysql database to store information to create database, table,

Do interface is as follows, after the success of the login in the system main interface, in the main interface, there are two menu, click go in, respectively, are two different sub interface, in this two child interface to the input of information, and because of involving with database for data storage, I don't quite understand, so the child interface three buttons on functional unrealized,

As for the VC to connect to the database, according to the online tutorial, I have to take the include database, lib path added to the VC directory, set up the connection in engineering also writes the libmysql. Lib (is white, but the box the beginning tutorial has content, is to put the libmysql. Lib on) at the end of??????? Tutorial in the VC connect to the database method especially code don't understand, don't know where to add, where to write???

For the database, I have been established in accordance with the requirements for a database, the database set up two tables (I want to save a is a list of interface information, the two interface is two tables), also don't know whether that is???

Hope your bosses can give little girl a little guidance, thank you

CodePudding user response:

the MFC, C + +, C program connects to the MySql database, library function

CodePudding user response:

Homework you can use ado to access database got or sqlite

CodePudding user response:

Thank you, could you give me instruction about VC programming that piece, I see is not very good

CodePudding user response:

Uncle to guide you, contact me
  • Related