Hi All,
I used the below line of code, but its showing “Expression Expected”
Can anyone help on this
Hi All,
I used the below line of code, but its showing “Expression Expected”
Can anyone help on this
Hi @tgopalas
Use this
MaxValue=Convert.ToInt32(dt.AsEnumerable().Sum(Function(dt.rows(“amount”)))
Thanks
Ashwin.S
Hey @tgopalas,
Use this:
dt.AsEnumerable().Sum(function(x) x.Amount ) OR dt.AsEnumerable().Sum(function(x) x.Field(“Amount”) )