Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Webform showstopper for me
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
01337052
Message ID:
01338389
Vues:
13
Jeff,

The problem is the call to SetCurrentDataSet(). When you set the current DataSet of the business object, it causes all controls to rebind back to the business object’s original data, which resets all user interface controls to the previous value. In order to safely call SetCurrentDataSet() in the Save() handler, you can call it this way:
this.oOrder.SetCurrentDataSet(dsOrder, this.oOrder.TableName, false, false);
The last parameter passed to this method tells the business object to not raise events when setting the current DataSet.

Best Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform