首页| 论坛| 消息
主题:自用的数据库访问封装类(20140423更新)
回帖:我猜是bool CDBProcess::addFieldsValueToTbl(const QString strTbl, const char* szFldInfo, ...)
这个函数中的pQry->bindValue(strPlaceholder, var);这个语句,我查看了QT的帮助文档,发现
“QMYSQL Stored Procedure Support
MySQL 5 introduces stored procedure support at the SQL level, but no API to control IN, OUT and INOUT parameters. Therefore, parameters have to be set and read using SQL commands instead of QSqlQuery::bindValue().” 这段话,
下一楼›:realfan:没遇到过。具体是什么类型的字段呢? (2015-01-30 21:18) 
还有我用m_pDB ..
‹上一楼:行潇:你好,我在调用addFieldsValueToTbl函数的时候,出现QMYSQL3: Unable to bind value这个错 ..

查看全部回帖(45)
«返回主帖