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.

column collection

Thread ID:

Created:

Updated:

Platform:

Replies:

62912 Jun 25,2007 01:35 PM Jun 25,2007 02:14 PM Windows Forms 1
loading
Tags: GridControl
John
Asked On June 25, 2007 01:35 PM


Hi,

How do I get a collection of columns or column names from a databoundgrid? Thanks!

haneefm [Syncfusion]
Replied On June 25, 2007 02:14 PM

Hi Coder12345,

You can get the bounded column collection by using the Binder.InternalColumn property. Below is a code snippet

foreach(GridBoundColumn c in gridDataBoundGrid3.Binder.InternalColumns)
{
Console.WriteLine(c.MappingName);
}

Best regards,
Haneef

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.

;