DataTable
GridView
Compute
Dim MaxVal as Double = 0 For Each row As DataGridViewRow In DataGridView1.Rows If row.Cells(0).Value > MaxVal Then MaxVal = row.Cells(0).Value 'Maximum value of first column Next
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)