Hi
I have data with fields: ln, pn, idx, x, y and would like to get record with MIN pn.
I got this from MSDN examples
But this returns only MIN pn not the whole record.
I got it around by
but would like to have it all done in one step
Could anybody help me with it ?
Regards
Piotr
I have data with fields: ln, pn, idx, x, y and would like to get record with MIN pn.
I got this from MSDN examples
VB.NET:
Dim min = (From p In points Select p.pn).Min()
But this returns only MIN pn not the whole record.
I got it around by
VB.NET:
Dim min = (From p In points Select p.pn).Min()
Dim s = From p In points Where p.pn = min Select p
Could anybody help me with it ?
Regards
Piotr
Last edited: