tags:

views:

206

answers:

2

Yes, there is a method max with 13 overloads, none it's simply the name of the column. Something can post an example in VB.NET?

A: 
VB.NET:  maxField = SomeTableClass.All().Max(Function(p As SomeTableClass) p.someField).

Is an option. Using LINQ can be

(From x in SomeTableClass.All() select x.someField).Max()
Apocatastasis
A: 

(Select max(coloumnName) from TableName) and u can add conditions or order by after this select statement

MrNetwork