Hello,

I am trying to bind custom business objects and sub objects to a datagrid.
I am able to bind properties of an Array of, lets say Employee objects to a
datagrid. However, I am having trouble binding to an property that points to
another object, let say Address.

Here is an example:
-----------------------

// Get Array of Employee Objects.
Employee[] emps = EmployeeDAC.Get();
dataGrid.dataSource = emps;

//
// Use DataGridTableStyles to display properties.
//
DataGridTableStyle tableStyle = new DataGridTableStyle();
tableStyle.MappingName = SubcontractorSchema.TableName;
tableStyle.MappingName = "Employee";

// Employee Name. (This works)
col = new DataGridTextBoxColumn();
col.MappingName = "Name";
col.HeaderText = "Employee Name";
tableStyle.GridColumnStyles.Add(col);

// Street Address. (DOESN'T WORK)
col = new DataGridTextBoxColumn();
col.MappingName = "Address.Street";
col.HeaderText = "Street";
tableStyle.GridColumnStyles.Add(col);

I have also tried to create a typed collection but that didn't end up
working either.

Thanks in advance for any suggestions you can provide.

Marie