I have datarow with a few columns, some of them are string.
I want to find the row with the maximum value in a string column.
So first, Can I find a max between strings? (I need max and min for compere them and by this to find if all this column values in this datarow are equal).
I've tried things like this:
var v = d.Max(x => x["F"]);
While d
is the datarow, and "F"
is the name of the string column.
If the max and min are equal, it means that the whole values are equal.