Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
One to Many Save
Message
De
12/06/2006 12:41:32
Jason Mesches
Ocean Systems Engineering Corporation
Carlsbad, Californie, États-Unis
 
 
À
12/06/2006 11:35:32
Rex Mahel
Realm Software, Llc
Ohio, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
01128455
Message ID:
01128473
Vues:
33
Hello, Rex

By default, .NET will recognize all the changes made in your datatable and attempt to send *all* of them to the backend. You shouldn't have to write any extra code to do that.

---J

>All,
>
>I want to be able to save an invoice by saving the header and all the line items at the same time. I can save the header and I can edit the line items.
>
>Can I create a method that iterates through the line item datarows and execute the LineItem.Save method against each datarow? I think I need call this new method is the PreSaveHook and retun false from the method to prevent the default Save behavior, is this correct?
>
>TIA
>
>Rex
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform