V
Vsiah
Hello,
I have a main datagrid and a nested datagrid, which is
using a parent/child datarelation. Now I need to sort the
childgrid. I wrote the following code:
Dim viewManager As New DataViewManager(ds)
viewManager.DataViewSettings(1).Sort = ViewState
("SortExpression")
DataGrid1.DataSource = viewManager
But this code gives me the following run-time error:
No default member found for
type 'DataViewManagerListItemTypeDescriptor'.
How can this be? Any suggestion?
I have a main datagrid and a nested datagrid, which is
using a parent/child datarelation. Now I need to sort the
childgrid. I wrote the following code:
Dim viewManager As New DataViewManager(ds)
viewManager.DataViewSettings(1).Sort = ViewState
("SortExpression")
DataGrid1.DataSource = viewManager
But this code gives me the following run-time error:
No default member found for
type 'DataViewManagerListItemTypeDescriptor'.
How can this be? Any suggestion?