Friday, August 03, 2012 11:38 AMIs there a way to display c without having to recurse through all the objects?
- Moved by Bob ShenMicrosoft Contingent Staff Friday, August 17, 2012 10:42 AM (From:Visual C# General)
Friday, August 03, 2012 11:50 AM
Ste the a.ListOfB property as Itemsource to the DataGrid, so you can bind the properties of B classes to the columns.
Friday, August 03, 2012 11:51 AM
to bind the DataGrid, object a must be a DataTable or DataSource. So you can populate object a with c values from object B, e.g. fill object a with obj_b.value_c.
by d way, how are you going to fill object a before binding it to datagrid?
- Marked As Answer by Ashutosh Chaturvedi Friday, August 24, 2012 3:43 AM
Friday, August 17, 2012 10:42 AM