B
Bart
I made an arraylist wich contains a certain amount of objects from the class
'employees'. The class 'employees' contains also an object 'department'. You
can see the class diagram (http://users.pandora.be/bart.geurs/class.gif).
The next step is to bind that arraylist to a datagrid. It works, but I only
see the data from the 'root'-object employee. I cannot get the data from the
department-object into that datagrid.
Code :
dim list as new arraylist
list=fillList() --> sub wich handles the filling of the arraylist
datagrid1.datasource=list
datagrid1.databind()
How can I get the data from the 'sub-object' into the datagrid ? Or maybe
I'm wrong with using an arraylist ?
'employees'. The class 'employees' contains also an object 'department'. You
can see the class diagram (http://users.pandora.be/bart.geurs/class.gif).
The next step is to bind that arraylist to a datagrid. It works, but I only
see the data from the 'root'-object employee. I cannot get the data from the
department-object into that datagrid.
Code :
dim list as new arraylist
list=fillList() --> sub wich handles the filling of the arraylist
datagrid1.datasource=list
datagrid1.databind()
How can I get the data from the 'sub-object' into the datagrid ? Or maybe
I'm wrong with using an arraylist ?