Sum of DataTable columns total using Lambda Expression in Entity FrameWork in ASP.Net

Last Reply 6 months ago By dharmendr

Posted 6 months ago
 decimal total = dt.AsEnumerable().Sum(row => row.Field<decimal>("TotalAmount"));



when i try to add the total amount from grid view row then i'm faicing above error sir
You are viewing reply posted by: dharmendr 6 months ago.
I agree, here is the link: https://www.e-iceblue.com/Introduce/spire-office-for-net-free.html?aff_id=108