B
Bill Foust
I'm seeing a situation where a textBox value looses its
databinding if the value of the textBox is manually
changed. Is this supposed to happen or a bug?
To recreate:
create a simple dataset
Create a new form and add dataset and textBox and button
bind the textBoxt.Text property to a column in the dataset
NOTE: The dataset is not used in conjunction with any
other database objects
In the constructor of the form, add code to add a row to
the dataset.
In the button, change the value of the cell in the dataset
Run app and press button. notice the value appropriately
is displayed automatically in the testbox on the form.
change the value of the textbox directly
now notice pressing the button does not update the textbox
any longer.
Thanks
Bill
databinding if the value of the textBox is manually
changed. Is this supposed to happen or a bug?
To recreate:
create a simple dataset
Create a new form and add dataset and textBox and button
bind the textBoxt.Text property to a column in the dataset
NOTE: The dataset is not used in conjunction with any
other database objects
In the constructor of the form, add code to add a row to
the dataset.
In the button, change the value of the cell in the dataset
Run app and press button. notice the value appropriately
is displayed automatically in the testbox on the form.
change the value of the textbox directly
now notice pressing the button does not update the textbox
any longer.
Thanks
Bill