21-01-18, 01:48 PM
(21-01-18, 01:07 PM)khodor1985 كتب : أو هذه الطريقة :
كود :
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
جزاك اللّة خيرا علي ردك
ولكن كودك لايقوم بقص الجزء / a
a/1
a/2
a/3
a/4

