views:

13

answers:

0

Hi All.

I'm trying to understand databinding in Winforms apps and have developed a test app with odd behaviour. I have bound the Checked property of the Checkbox control to a single-row, single(bool)-column DataTable object. Checking the box updates the DataTable cell fine as you would expect, however I would also like to change the CheckBox state by changing the DataTable cell value (its an MVP thing). This works until I change the state of the checkbox by clicking on it. After that changing the cell value has no effect on the Checkbox state. Can anyone explain what might be going on from this description? Thanks.