Dear all,
I have a datatable, i want to find sum of a field in datatable how to do that?
dim no as integer = Convert.ToInt32(dt.Compute("SUM(empsal)", String.Empty))
its showing me Invalid usage of aggregate function Sum() and Type: String.
what could be the reason?
thanks
nick
Go to the complete details ...