Binding object properties to datagrid

  • Thread starter Thread starter Tony Maresca
  • Start date Start date
T

Tony Maresca

I'm looking for a basic example that shows
how to bind object properties to a datagrid
(e.g., objects are stored in a collection, and
the grid should show one object per row).

TIA

--
Tony M.
 
Tony,

As long as the properties are public, you should be able to place them
in an implementation of IList and it should just work.

Place your objects in an array, and set the data source of grid to the
array.

Hope this helps.
 
Back
Top