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

retreiving the combobox display value programatically

Thread ID:





6051 Jul 29,2003 09:45 PM UTC Jul 30,2003 02:16 PM UTC WinForms 2
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!


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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

Live Chat Icon For mobile
Live Chat Icon