loop through grid

How to loop through grid ? I want to get all the names that are in grid Column 1.

1 Reply

AD Administrator Syncfusion Team May 17, 2005 03:20 PM UTC

Try this.
for(int row = 1; row <= this.grid.Model.RowCount; row++)
{
  Console.WriteLine(grid[row, 1].Text);
}

Loader.
Up arrow icon