Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
160
Finding the Max value in a grid column
posted

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

Parents
  • 160
    Suggested Answer
    posted

    I was using VB.NET and this is what I used for the final solution using the tips provided. Thanks.

     

     

     

    Dim max = UltraGrid1.Rows.Max(Function(o As UltraGridRow) o.Cells("PolicyNumMaskId"

    ).Value)

Reply Children
No Data