hii
i want to know that can we make database in QT or QT just only provide medium to connect to the prepared database???
Regards
hii
i want to know that can we make database in QT or QT just only provide medium to connect to the prepared database???
Regards
hii
i am new to this website so plz can you provide me the link to the qt source code...
Puoi scaricare tutto da qui http://www.qtsoftware.com/downloads
QSqlDatabase db = QSqlDatabase::addDatabase("QSQLITE");
// create the database
db.setDatabaseName("payroll.db");
QSqlQuery query;
// create the table
query.exec("create table employee (empid int primary key, "
"name varchar(50), department varchar(20))");
// insert records
query.exec("insert into employee values(1001, 'John', 'Accounting Dept')");
query.exec("insert into employee values(1002, 'Rey', 'Personnel Dept')");
mind_freak (13th July 2009)
Bookmarks