D
David Adams
Hi,
I have a WinForm app with 1 form. This form has 8 user controls each of
which has its visibility set on or off depending on which of the user
controls have been selected by the user. Each of these user controls has
text boxes, datagrids, etc. which are all bound via a datarelation path
(this.txLast.DataBindings.Add("Text", mdsApp,
"App.AppFamilyMembers.LastName")). This entire app works fine until I run
an update via ds.App.Update, ds.FamilyMembers.Update, etc. When the update
statement is called, the grids are blank, the textboxes and other controls
are blank as well. Upon further inspection, the currencymanager position
for each of these relations are set to -1 and even manually setting the
datarelation to 0 results in a position of -1.
I am using databinding with a datarelation path to take advantage of
cascading updates and deletes.
Is there any explanation for this? Is there another solution?
Thanks!
David Adams
I have a WinForm app with 1 form. This form has 8 user controls each of
which has its visibility set on or off depending on which of the user
controls have been selected by the user. Each of these user controls has
text boxes, datagrids, etc. which are all bound via a datarelation path
(this.txLast.DataBindings.Add("Text", mdsApp,
"App.AppFamilyMembers.LastName")). This entire app works fine until I run
an update via ds.App.Update, ds.FamilyMembers.Update, etc. When the update
statement is called, the grids are blank, the textboxes and other controls
are blank as well. Upon further inspection, the currencymanager position
for each of these relations are set to -1 and even manually setting the
datarelation to 0 results in a position of -1.
I am using databinding with a datarelation path to take advantage of
cascading updates and deletes.
Is there any explanation for this? Is there another solution?
Thanks!
David Adams