We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

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);

Live Chat Icon For mobile
Up arrow icon