[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Bind object at different levels to a data grid view

Posted on 2010-09-21
3
Medium Priority
?
247 Views
Last Modified: 2013-11-07
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.
0
Comment
Question by:scottlafoy
  • 2
3 Comments
 
LVL 8

Accepted Solution

by:
mac-will earned 2000 total points
ID: 33729213
These names sound familiar, are you in Alberta by chance?

What you will probably need to do is use relations.
If you have a dataset of of project objects, inspectionsand licenses you can define the relations between them (i.e. your key) and use the relations syntax as a binidng memebr

See if this helps:
http://msdn.microsoft.com/en-us/library/c12c1kx4.aspx

0
 
LVL 8

Expert Comment

by:mac-will
ID: 33729312
0
 
LVL 5

Author Closing Comment

by:scottlafoy
ID: 33729896
This is exactly what I was looking for. I was starting to think it could not be done. Thank you very much
0

Featured Post

Get quick recovery of individual SharePoint items

Free tool – Veeam Explorer for Microsoft SharePoint, enables fast, easy restores of SharePoint sites, documents, libraries and lists — all with no agents to manage and no additional licenses to buy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
In real business world data are crucial and sometimes data are shared among different information systems. Hence, an agreeable file transfer protocol need to be established.
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?
Suggested Courses

873 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question