PC Review


Reply
Thread Tools Rate Thread

Can someone please explain this behavior?

 
 
Justin Lazanowski
Guest
Posts: n/a
 
      28th Jun 2005


I can't find any answers, I have no idea why this is happening.

I have a dataset. In this dataset there are three tables

RO

ROParts, ROLabor

ROParts and ROLabor are related to the RO table one to many relationship

PKEY on RO is the RO#, ROLOC, RODATE these three fields are replicated in
each of the child tables.

The relationship works fine, however when I bind them to a data grid and
drill to the child rows it includes all of the child fields plus all of the
parent fields (in the same row as the child data). I am not sure why this is
happening.

Any thoughts?



 
Reply With Quote
 
 
 
 
David Sceppa
Guest
Posts: n/a
 
      30th 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
 
Cor Ligthert
Guest
Posts: n/a
 
      30th Jun 2005
Justin,

Are you sure that you did not create a select with a Join.

That is the idea that I get when I read your message.

Cor


 
Reply With Quote
 
Justin Lazanowski
Guest
Posts: n/a
 
      30th Jun 2005
Yeah, I found it two days ago.

Lesson learned. Beware of select * (especially when you are using a
join)



--
Sent via .NET Newsgroups
http://www.dotnetnewsgroups.com
 
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
Please Explain Anomalous Windows Behavior JD Windows XP Performance 3 19th Oct 2007 03:24 PM
Can someone explain the behavior of this query? cputnam@TNC.ORG Microsoft Access Queries 7 10th Aug 2007 03:11 PM
Please explain strange viewstate behavior... =?Utf-8?B?cmdyYW5kaWRpZXI=?= Microsoft ASP .NET 1 27th Oct 2005 09:57 AM
Can someone explain this difference in IE behavior? Ohaya Windows XP Internet Explorer 4 12th Dec 2003 02:14 AM
Who can explain this sellength behavior? Microsoft Access Form Coding 8 6th Nov 2003 12:51 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:23 PM.