如何在csharp中使用ms.access中的yes/no的datatpye [英] how to use datatpye of yes/no of ms.access in csharp

查看:60
本文介绍了如何在csharp中使用ms.access中的yes/no的datatpye的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

HI,
如果在ms.access中将标识符声明为yes/no数据类型,那么如何使用csharp中的插入查询在ms.access数据库中插入该布尔类型.....


If a identifier is declared as a yes/no datatype in ms.access .then how to insert that boolean type in ms.access data base using insert query in csharp .....

推荐答案

MS Access将true表示为-1,将false表示为0,因此请使用它们代替布尔值.
MS Access represents true as -1 and false as 0, so use those in place of your boolean value.


这篇关于如何在csharp中使用ms.access中的yes/no的datatpye的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆