PC Review


Reply
Thread Tools Rate Thread

Datagrid with relation problem

 
 
Steve martin
Guest
Posts: n/a
 
      8th Aug 2003
Hi all

I've got a dataset with two tables parents and children,
i want to display these in a datagrid, i've used a data
relation to link the parents to their children, but when
i link the datasource to the dataset i get the parents
with a link to the children that has to be explictly
expanded to view children, can i display all of this on
the one screen so that the children are displayed beneath
the parents?

Thanks

Steve
 
Reply With Quote
 
 
 
 
ClayB [Syncfusion]
Guest
Posts: n/a
 
      9th Aug 2003
I don't think you can do this with a System.Windows.Forms.Grid. Most
commercial grids will give you this behavior.

==========================
Clay Burch, .NET MVP

Visit www.syncfusion.com for the coolest tools

"Steve martin" <(E-Mail Removed)> wrote in message
news:15ec01c35da5$67212bc0$(E-Mail Removed)...
> Hi all
>
> I've got a dataset with two tables parents and children,
> i want to display these in a datagrid, i've used a data
> relation to link the parents to their children, but when
> i link the datasource to the dataset i get the parents
> with a link to the children that has to be explictly
> expanded to view children, can i display all of this on
> the one screen so that the children are displayed beneath
> the parents?
>
> Thanks
>
> Steve



 
Reply With Quote
 
Steven Martin
Guest
Posts: n/a
 
      11th Aug 2003

That's the conclusion that i have come to as well, thanks for the reply.

Cheers

Steve


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
 
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
Datagrid and relation between two table. archana Microsoft C# .NET 1 5th Feb 2007 11:43 AM
relation 1:m in two datagrid, don't nested Vlada Milicevic Microsoft ADO .NET 1 4th Aug 2005 02:45 PM
Many-to-many relation in a datagrid... Jan Nielsen Microsoft VB .NET 4 16th Dec 2004 10:47 AM
Many-to-many relation in a datagrid... Jan Nielsen Microsoft ADO .NET 4 16th Dec 2004 10:47 AM
dataset, datagrid, relation ... Sophie PARISOT Microsoft ADO .NET 1 27th Aug 2003 05:33 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:06 AM.