For the following datatable column, what is the fastest way to get the min and max values?
AccountLevel 0 1 2 3
Easiar approach on datatable could be:
int minLavel = Convert.ToInt32(dt.Compute("min([AccountLevel])", string.Empty));
2.1m questions
2.1m answers
60 comments
57.0k users