Help in "if"

Ok, I kinda get it.
Why not use filter datatable to filter what you want to add instead of an if?
image

To get the min value use:
just modify it.
int minVal = (int)table.Compute("Min(ColName)", "") then just use a message box to display it.
more info here: credit to the mvp.

1 Like