Windows Form: showing child object value in the DataGridView
- by Daoming Yang
I have a productVariant object which has child product object. I want to show the value in the DataGridView, can anyone let me know how to do this?
Here is the structure of the object.
I tried to bind "ProductVariant.Product.Name" to the DataProptertyName in the DataGridView, however, it did not not showing any value.
Can anyone help with this? Many thanks.