Can ADO.NET do this Is there a solution because iterating record is time consuming.
Here is the code :
private Bool EvenStatus(int myFieldData)
{
if (myFieldData % 2 ==0)
return True;
else
return False;
}
Here is what I would like to do : incorporating the local method above "EvenStatus" into the compute method :
messageBox.Show(dataset1.myFile.Compute("Count(EvenStatus(total))","total>10").ToString());

datatable.Compute() how to integrate a function into the expression?