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

Last Reply 10 months ago By dharmendr

Posted 10 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 10 months ago.
I agree, here is the link: