mysql - 在QTableView中添加QCombox后,利用setData去修改其中数据后数据不能同步到数据库。
迷茫
迷茫 2017-04-17 13:22:26
0
1
679
迷茫
迷茫

业精于勤,荒于嬉;行成于思,毁于随。

reply all(1)
PHPzhong

From my immature experience, you can set a breakpoint hereif(value == "男"){
When a girl chooses to be a boy, look at what the value is

But to be honest, I highly doubt that your judgment of QVariant == QString is not very rigorous code.

Hope it helps you

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template