How would I find the Maximum value of a cell in the column named "Num"? I have looked at
UltraGrid1.Rows.Max(
but I don't know what to pass in the Max function.
Thanks
Hi,
Max is an extension method for LINQ. In your case, you could use :
UltraGrid1.Rows.Max(o => o.Cells["Num"].Value);
http://msdn.microsoft.com/en-us/vcsharp/aa336747#maxSimple