mardi 30 août 2016

Binding checkbox to Datatable

I have checkboxes that needs to be bound to a DataTable. Problem is that checkboxes store "YES" and "NO" values in Oracle DB fields, NOT Boolean. How can I bind to those values ?

This doesn't work:

ChkInUse.DataBindings.Add("Checked", dtb, "IN_USE")

I get error: "String was not recognized as a valid Boolean".




Aucun commentaire:

Enregistrer un commentaire