Using anonymous types to shape data(tr3v.net)
submitted by
Tr3v(376) 3 years, 9 months ago
Lets say you are writing a piece of software for a call center to use and you need to display values from multiple classes in your object model in a single DataGridView...
The problem is that you cannot bind a DataGridView column to a second-level property without writing TypeDescriptionProvider and CustomTypeDescriptor for each class that we want to use.
|category: Linq
|Views: 12
tags:
Anonymous Types LINQ another
Everyones tags:
Your Tags: