Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Multiple CreateEntityList() calls
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
C# 2.0
OS:
Vista
Divers
Thread ID:
01235261
Message ID:
01235527
Vues:
15
Craig,

>I have a form with a grid sourced from a CreateEntityList() call on the business object - this works fine.
>Now, I want a second grid that also needs to be sourced to the same business object, but a different EntityList.
>
>I have two methods in the business object to get the data required - each is specifying a different dataset name so they don't cancel each other out. How do I then populate the seconds grid with this setup?
>
>Currently the last call to CreateEntityList() wins.

You just need to specify a different DataTable for CreateEntityList() so it doesn't step on your previous call. You can then specify a different DataTable in the binding properties of your grid.

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