Open-Embedded Study Yard
Labels
Linux
(46)
Qt
(25)
Gumstix
(21)
Touch screen
(6)
Eagle
(3)
16/07/2009
Get total record count (SQLite)
my_sqlModel = new QSqlQueryModel(); //define a new sql model
my_sqlModel.setQuery(“select * from item”);
int cols = my_sqlModel.rowCount();
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment