Display entites in UI

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

hi guys,

how do you display your entites / business objects in your presentation
layer (WinForms)? ( data in a table )

Do you create a DataGrid and a DataTable/DataSet, and map each entitiy value
you want to display to a DataTable/DataSet? I believe there must be a
solution, to be able to create an own "EntityDataGrid" (perhaps inherit from
DataGrid) or something like this, in order to have references to the entites
and theire values, instead mapping them into a DataTable/DataSet.

But i have no idea how to do this.. Reflection? Inherit from DataGrid and
then...? Or create a new control and even taking care about the drawing?


Thank you
Steven.
 
Back
Top