R
Rob Dob
Hi,
I'm not sure if I going about this the correct way.
I have some databound TextBox's displayed on a winform that are bound to my
BindingSource. When I make modifications to any of these textboxes and
then try to save these changes everything works fine. However I have a
requirement to programmically change the values of some of the other fields
which are part of this same BindingSource. My solution was to create some
additional TextBoxes and then change the property of those textboxes from
visible=true to visible=false, and then programmically change the Text
values of these controls from within my code. The problem is that none of
these changes are being updated for the controls where I have set Visible
=false.
How do I programmically change the values of some of the fields attached to
my BindingSource for which I don't wish to display on my winform, But I
still need the BindingSource to recognize these as changes and still treat
them the same as changes made manually to the other visible=true textboxes.
Thanks,
I'm not sure if I going about this the correct way.
I have some databound TextBox's displayed on a winform that are bound to my
BindingSource. When I make modifications to any of these textboxes and
then try to save these changes everything works fine. However I have a
requirement to programmically change the values of some of the other fields
which are part of this same BindingSource. My solution was to create some
additional TextBoxes and then change the property of those textboxes from
visible=true to visible=false, and then programmically change the Text
values of these controls from within my code. The problem is that none of
these changes are being updated for the controls where I have set Visible
=false.
How do I programmically change the values of some of the fields attached to
my BindingSource for which I don't wish to display on my winform, But I
still need the BindingSource to recognize these as changes and still treat
them the same as changes made manually to the other visible=true textboxes.
Thanks,