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