These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: DataGridView and many-to-many
PostPosted: Fri Aug 24, 2007 5:15 am 
Newbie

Joined: Thu Aug 23, 2007 8:56 am
Posts: 1
Hi

Is there a tutorial for creating a view to display a many-to-many situation.
I tried it by using the DataGridView.
In my main form I display the detail information from the object A. I insert a DataGridView in this form to display the many-to-many situation (object B and C). In the DataGridView I would like to have a combo. This combo should show all object C. So I can select a Object C an map it so to object B.

My model:
Object A contains a list of object B. And object B contains an object C.

My problem: The combo has only a value Member. It get my never the whole object. But I think I need the whole object. What do I wrong?

Thanks for help

Urs


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.