for loop for gridview row in c# devexpress code example
Example: loop gridcontrol devexpress c#
for (int i = 0; i < gridView1.DataRowCount; i++)
{
if (gridView1.GetRowCellValue(i, "FieldName") == value)
//do something
}
for (int i = 0; i < gridView1.DataRowCount; i++)
{
if (gridView1.GetRowCellValue(i, "FieldName") == value)
//do something
}