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 ???
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.
BSBhandhavi SangaruDecember 9, 2003 02:08 PM UTC
>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 : 188.8.131.52
I think I am adding the new row to the Grid.
But using OracleDataAdapter.Update(datasetname,"tablename") to save my changes.