PC Review


Reply
Thread Tools Rate Thread

Dataset Relationship

 
 
Justin Lazanowski
Guest
Posts: n/a
 
      23rd Jun 2005


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


 
Reply With Quote
 
 
 
 
David Sceppa
Guest
Posts: n/a
 
      29th Jun 2005
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.

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
relationship in typed dataset =?Utf-8?B?RWZp?= Microsoft ADO .NET 1 13th Mar 2006 06:06 AM
Re: Relationship in Dataset Cor Ligthert [MVP] Microsoft VB .NET 2 20th Sep 2005 08:44 AM
Re: Relationship in Dataset Terry Olsen Microsoft VB .NET 0 18th Sep 2005 06:04 PM
Recursive relationship in ADO .NET dataset Dan Microsoft ADO .NET 4 30th Jan 2005 09:00 PM
Dataset with many-to-many relationship =?Utf-8?B?VGhhZCB0aGUgRGV2ZWxvcGVy?= Microsoft ADO .NET 1 15th Oct 2004 08:44 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:02 AM.