I have a DataGridView bound to a DataTable.
I've removed a couple of columns and replaced them (programmaticaly) by ComboBoxColumns.
Now I need to sort the DataGridView, using a DataView, but when trying to set dGV.DataSource to DataView
, I get a "Can not create Child List for the DataTable" exception.
Is there any chance that the problem is related to DataTable ChildRelations property?
Should I do any work with that property while removing original columns and inserting new instead?
Thanks in advance.
Discussion in Windows
Forms Data Controls and Databinding