Windows Form: showing child object value in the DataGridView
Posted
by Daoming Yang
on Stack Overflow
See other posts from Stack Overflow
or by Daoming Yang
Published on 2010-03-02T23:24:18Z
Indexed on
2010/03/08
17:36 UTC
Read the original article
Hit count: 629
windows-forms
|c#
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.
© Stack Overflow or respective owner