Well, let me try again.
I fill a DataSet using a DataAdapter from a JOIN sql.
Then, I build the DataAdapter.InsertCommand by myself (because of the
JOIN in the sql, it won't build automatically).
I bind to some TextBoxes on the form.
I issue a BindContext[].AddNew().
I start editing those fields: Name, LastName, etc... (all string
fields).
When I call BindContext[].EndCurrentEdit(), to finish editing, the Text
property of the TextBoxes are cleared out, they disapear, go blank.
Then, the DataAdapter.Update() fails, of course.
I'd like to know why is this happening ?
|