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

ComboBox selectedValue or selectedIndex

Thread ID:





8845 Nov 22,2003 02:01 PM UTC Nov 23,2003 06:46 AM UTC WinForms 1
Tags: GridControl
Asked On November 22, 2003 02:01 PM UTC

Is there a way to get a selectedValue or selectedIndex from a comboBox within a DataBoundGrid. I populate the comboBox from a dataTable DataSource. I would like to obtain the (ValueMember) the value behind what is diplayed (DisplayMember). Thanks

Administrator [Syncfusion]
Replied On November 23, 2003 06:46 AM UTC

When the cell is not active, grid[row, col].Text should have the valuemember and grid[row, col].FormattedText should have the DisplayMember.


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