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.

Get System.Data.DataRowView in the drop down list of the combo box

Thread ID:

Created:

Updated:

Platform:

Replies:

9174 Dec 9,2003 08:31 AM Dec 9,2003 09:08 AM Windows Forms 2
loading
Tags: GridControl
Bhandhavi Sangaru
Asked On December 9, 2003 08:31 AM

I am using a datasource to populate the combobox in the grid data bound grid. The list in the combo box displays correctly for the first time. After I add a new row, the drop down list in the combobox shows System.Data.DataRowView ??? Please help! Thanks, Bhandhavi.

Administrator [Syncfusion]
Replied On December 9, 2003 08:50 AM

Are you adding the new row to the DataSource of the ComboBox or of the grid? What version of the grid are you using? On possible reason that you are seeing System.Data.DataRowView is that the ValueMember and DisplayMember properties for the GridBoundColumn no longer point to valid columns in the combobox''s data source. When the grid cannot find the ''right properties", it uses the object from the list as the cell value. In this case, the object is a DataRowView, and when the grid does a ToString on it to display it in the cell, it defaults to displaying its type. If you can post a sample project showing the problem or submit a direct trac incident with a sample showing the problem, we can look into it here.

Bhandhavi Sangaru
Replied On December 9, 2003 09:08 AM

>Are you adding the new row to the DataSource of the ComboBox or of the grid? What version of the grid are you using? > Thanks Clay, for the quick response. The Version is : 1.6.1.8 I think I am adding the new row to the Grid. But using OracleDataAdapter.Update(datasetname,"tablename") to save my changes.

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.

;