Dataset Relationship

J

Justin Lazanowski

I have a grid that is bound to a typed dataset.

Three fields make up the key in the parent table and those same three fields
are also in the child tables with a 1 to many relationship.

When I bind this dataset to a grid it displays it hierchalily (which is what
I want) when I drill to the child rows however it has the child row data
plus the same data that is on the parent row. I only want to see the child
information in the child row.

I have looked in the Dataset and found no extra fields in the two sub tables
so it is my assumption that it's doing this at runtime. Any ideas how I can
get this to stop?

Thanks,
Justin
 
D

David Sceppa

Justin,

If I understand your question correctly, you're asking about the
behavior of the DataGrid rather than about the DataSet, DataRow, or
DataRelation objects. Assuming that's the case, you'd stand a better
chance of getting a response by asking the question in the DataBinding
newsgroup at microsoft.public.dotnet.framework.windowsforms.databinding.

I hope this information proves helpful.

David Sceppa
Microsoft
This posting is provided "AS IS" with no warranties,
and confers no rights. You assume all risk for your use.
© 2005 Microsoft Corporation. All rights reserved.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top