jeudi 18 octobre 2018

Ms access equivalent to Cast as Bit of sql server

I could load data in datagridview in c# from ms sql server and cast whatever column I want to Bit as follows:

select Cast(col) as Bit.

As a result in the datagridview the column will be shown as a DataGridViewCheckBoxColumn.

How I can accomplish that using Ms access database. I tried using CBool but its displaying results as text not as checkbox.




Aucun commentaire:

Enregistrer un commentaire