dimanche 27 décembre 2015

SQLite Bool DataBinding

C#, Winforms project.

I can manually set databindings in a Visual Studio project like this:

DownCheckBox.DataBindings.Add("Checked", BS, "ManualEntryUsed");

But this does not work with SQLite because they store boolean values as 0 or 1.

How can I manually set boolean databindings using a SQLite database in a Winforms project?

Thanks

Aucun commentaire:

Enregistrer un commentaire