G
Guest
Hi.
I have a custom collection called TransactionCollection (using
collectionbase). I have created an object called CurrencyTransaction using
this collection and it has two TransactionCollection objects (called
TTTransactions and ChequeTransactions) exposed as properties.
I am binding the CurrencyTransaction to a Windows.Forms DataGrid and it's
working fine. You can expand the rows and view the two nested collections and
navigate between the collections no problem. However, on the grid they are
the names of the properties which doesn't really help the novice use.
I have used the DataRelation object with a dataset to rename nested tables
with nice names such as "View Transactions" but I'm no using a dataset and
I've no desire to use a dataset. Is there any way I can use the DataRelation
object with custom collection i.e. an interface I could implement. Or is
there an attribute I could place on the nested collection properties?
Any help greatly appreciated.
Thanks in advance,
I have a custom collection called TransactionCollection (using
collectionbase). I have created an object called CurrencyTransaction using
this collection and it has two TransactionCollection objects (called
TTTransactions and ChequeTransactions) exposed as properties.
I am binding the CurrencyTransaction to a Windows.Forms DataGrid and it's
working fine. You can expand the rows and view the two nested collections and
navigate between the collections no problem. However, on the grid they are
the names of the properties which doesn't really help the novice use.
I have used the DataRelation object with a dataset to rename nested tables
with nice names such as "View Transactions" but I'm no using a dataset and
I've no desire to use a dataset. Is there any way I can use the DataRelation
object with custom collection i.e. an interface I could implement. Or is
there an attribute I could place on the nested collection properties?
Any help greatly appreciated.
Thanks in advance,