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.

retreiving the combobox display value programatically

Thread ID:





6051 Jul 29,2003 05:45 PM Jul 30,2003 10:16 AM Windows Forms 2
Tags: GridControl
Administrator [Syncfusion]
Asked On July 29, 2003 05:45 PM

So I am successfully showing a combobox in a GridDataBoundGrid by having 2 tables in my dataset that acts as my datasource. I would like to programatically iterate through the grid and grab the values off the grid. How do I retreive the displayed value of the combobox on the grid? I am able to grab the "value" of the combobox by dataGrid[row, col].CellValue.ToString() is there an easy to get the displayed value? thank you.

Administrator [Syncfusion]
Replied On July 29, 2003 10:49 PM

dataGrid[row, col].FormattedText should work. Stefan

Administrator [Syncfusion]
Replied On July 30, 2003 10:16 AM

thank you stefan, it works!


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.