Hi all,
I have a problem using databinding on a windows form.
On the form I have a typed DataRow.
DataRow type:
Name String
Blocked Boolean
On the form I have two control a Label and a CheckBox.
The databinding is added with the following code:
this.Label.DataBindings.Add(new Binding("Text", this.mDataRow, "Name"));
this.CheckBox.DataBindings.Add(new Binding("Checked", this.mDataRow,
"Blocked"));
When I edit the value of the text property of the Label control there is no
problem. This value is saved to the DataRow.
When I edit the value of the checkbox, the value of the Text property of the
Label control is cleared / reset to a empty string.
Am I missing something?
Any help will be great.
Thanks,
Andr? Barendse
Scave - 28 Oct 2004 23:30 GMT
I don't think I know enough to answer yet but if you post some code
that demonstrates your problem I'll have another look.
"André Barendse" <abarendse@kabelfoon.nl> wrote in message news:<4180e9cb$0$243$58c7af7e@news.kabelfoon.nl>...
> Hi all,
>
[quoted text clipped - 30 lines]
>
> André Barendse