Hi,
I've a problem to find a solution for a problem. I've a component and have
implement a DatSet with two DataTables. Also I've two DataViews on this
component. I would like to use this component as data source for a WinForms
DataGrid and will return the two DataViews as DataMembers. For this purpose
I've IListSource implemented.
It's no problem to return only one DataView, because a DataView has
implemented Ilist, and the DataView is returned via IListSource.GetList().
Now, I've implemented an ArrayList to return multiple DataViews:
public IList GetList()
{
ArrayList ar = new ArrayList();
ar.Add(this.dataView1);
ar.Add(this.dataView2);
return (ar);
}
In this case, the DataGrid doesn't show the values of the DataView or the
underlaying DataTable, the DataGrid shows the public properties of the
DatView.
Can anybody help me?
Thanks
Andreas