Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Populating foreign keys
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
00810787
Message ID:
00811367
Vues:
16
Brian,

>I wonder if one of the issues I'm having has to do with how the biz object gets it's current dataset. For example, let's say I have called "NewRow()" to add a row to a biz object's dataset, then store the dataset back in the Session... if I then click a Save button that calls "SaveDataSet()", don't I have to get my dataset back out of Session and set it back into the business object beforehand? I think re-retrieving the dataset would cause me to lose the row I just added, and the "SetCurrentDataSet" method is not overrideable.

That's right...you want to retrieve the DataSet you persisted and pass it to the SaveDataSet method.

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