简直被坑死了,
bool字段更新,只能用0或1,才是正确的更新。
否则select出来的字段是错的
本来用true和false更新的,更新之后,使用sqliteexpert查看,更新结果是对的。
但是发现select出错
select [ChannelID],[ISOpen],[Bridge],[Expression],[Precision],[Sensitivity],[Description],[Unit],ChannelType from [ChannelTable]
where [ISOpen]!='0' //where [ISOpen]='0'
使用where [ISOpen]='true'或者'false'进行筛选的时候,根本筛选不出来