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.
Unfortunately, activation email could not send to your email. Please try again.

loop through grid

Thread ID:

Created:

Updated:

Platform:

Replies:

29117 May 17,2005 10:39 AM May 17,2005 11:20 AM Windows Forms 1
loading
Tags: GridControl
Hrvoje Voda
Asked On May 17, 2005 10:39 AM

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

Administrator [Syncfusion]
Replied On May 17, 2005 11:20 AM

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

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;