Home > Mobile >  QSqlTableModel submit questions
QSqlTableModel submit questions

Time:09-20

I used QSqlTableModel to modify QTableView data, delete or increase or decrease in data, only one operation, will appear a second Parameter count mismatch, who met you?

CodePudding user response:

Reason is that I once per operation switch, a database if the database has been opened, there is no problem, the Internet: close the database after all MODEL has lost the authority operation,
  •  Tags:  
  • Qt
  • Related