Using anonymous types to shape data(tr3v.net)

submitted by Tr3vTr3v(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.

add a comment |category: |Views: 12

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

No comments so far

information Login or create an account to comment on this story