VB.NET - Checkbox losing checked value on lost focus -
i have vb.net form , have added checkbox. using databindings checkbox per below:
txtid.databindings.clear() txtid.databindings.add("text", ds.tables(0), "id") dim myid new binding("checked", ds.tables(0), "userid") addhandler myid.format, addressof chkformatter addhandler myid.parse, addressof chkparser chkid.databindings.add(myid)
if check box checks fine, once click onto field, checkbox loses check.
can me understand why please?
i have other checkboxes on form using databindings in same way , working fine.
thank you,
understand bind myid "userid", "userid" boolean field?
if yes, piece of code update field other means?
Comments
Post a Comment