F
Franco Caloni
Hi all,
I'm developing my first application, I'm creating a form to manage records
from a SQLCE table.
I'm binding the form's controls (textboxes) to a filled datatable. On the
form there are buttons to navigate records setting the
bindingmanagerbase.position to the proper value.
This works and I can scroll the table's records on the form.
But I have noticed that after changed the bindingmanagerbase.position the
form display the correct values, but Dataset.HasChanges always return true
even if I don't have changed any value on the textboxes.
Because I'm novice, I'm asking if this is this the correct behavior when
binding controls, and why this happens?
If I don't change the textbox's values I expect that the dataset.haschanges
return false....
Thanks for any explanations.
Franco
I'm developing my first application, I'm creating a form to manage records
from a SQLCE table.
I'm binding the form's controls (textboxes) to a filled datatable. On the
form there are buttons to navigate records setting the
bindingmanagerbase.position to the proper value.
This works and I can scroll the table's records on the form.
But I have noticed that after changed the bindingmanagerbase.position the
form display the correct values, but Dataset.HasChanges always return true
even if I don't have changed any value on the textboxes.
Because I'm novice, I'm asking if this is this the correct behavior when
binding controls, and why this happens?
If I don't change the textbox's values I expect that the dataset.haschanges
return false....
Thanks for any explanations.
Franco