Bind object at different levels to a data grid view
Posted on 2010-09-21
Hello, I was wondering if it is possible to bind an object to a data grid view at different levels. For example, I have an object named project, it contains a collection of licenses and inspections. There are pipelineInspections and wellInspections that inhearit from inspections, and lower objects (the actual inspections) that inhearit from wellInspections and pipelneInspections. On the pipeline side there are wellLicense and pipelineLicense that inhearit from licenses. Now to make it more complicated, each inspection is linked to a license through a key, each license can have many inspections but each inspection can have only 1 license.
Now I am trying to bind to the project object and show a few properties at the inspection level and a few properties at the wellInspection level and a few properties from an actual inspection.
How can I do this?
Thank you in advance for any help.