SyntaxFix
Write A Post
Hire A Developer
Questions
I think this solves
using System.Linq; (datagridview1.DataSource as DataTable).AsEnumerable().Sum(c => c.Field<double>("valor"))