Home Forums WinForms controls Xceed Grid for WinForms finding a value in the grid Reply To: finding a value in the grid

User (Old forums)
Member
Post count: 23064

Try this (untested code):<code>Dim row As Xceed.Grid.DataRow
Dim cell As Xceed.Grid.DataCell
For Each row In grid.DataRows
For Each cell In row.Cells
Dim value As Object = cell.Value
If value = valueToSearch Then
‘ found the value
End If
Next
Next</code>

Imported from legacy forums. Posted by Tommy (had 3879 views)