Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setting the current row
Message
 
À
30/07/2003 03:33:42
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
00814578
Message ID:
00814903
Vues:
11
>A workaround to this would be, using the CurrencyManager's AddNew() method (If not suggesting creating one of our own, which is better). This will add a new row to the dataview and set the current record to the new position. Now, what happens to the business object? Well simply, you could hook events to whatever dataset's table assigned to the business object. Then call the appropriate operations from there. This will eliminate some problems, when for example, the user sets the current dataset to one of his own and then using a backdoor call to insert a new row to that dataset without using the NewRow method of the business object.
>
>What do you think?

I say go for it, but in the meantime I'll check into this to see if there's something I can do at the Framework level...

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
Répondre
Fil
Voir

Click here to load this message in the networking platform