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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

retreiving the combobox display value programatically

Thread ID:

Created:

Updated:

Platform:

Replies:

6051 Jul 29,2003 09:45 PM UTC Jul 30,2003 02:16 PM UTC WinForms 2
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On July 29, 2003 09:45 PM UTC

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 30, 2003 02:49 AM UTC

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

Administrator [Syncfusion]
Replied On July 30, 2003 02:16 PM UTC

thank you stefan, it works!

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.

Warning Icon 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.Close Icon

;