I made following steps:
1) Created a Winform with DataForm-Wizard.
2) Now I created a Button next of one textbox. In this button i
open a findfile-form which returns a string. This string i want
to write into my textbox with:
textbox1.text = returnvalue
If I start my project now I clicked my button and choose a File.
After that I see that in my textbox1 the filename comes up.
Then I jump to the 2nd textbox which is bound to the same dataset.
After I changed the 2nd textbox the value of the first textbox change
automatically to null.
I searched some newsgroups for this problems and found some useful but
nothing which can help me!
A tip was to add the command "bindingcontext.EndCurrentEdit()" after
the command "textbox1.text = returnvalue" but then i get the error-msg
that some fields of my dataset are null. So it looks like the i can only
make a "EndCurrentEdit" at the end before updating.
What can i do to update my textbox and also get the changes to the dataset!