Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Datagrid Control > Problem display several DataTables with relations

Reply
Thread Tools

Problem display several DataTables with relations

 
 
Mikaël PLOUHINEC
Guest
Posts: n/a
 
      12-21-2006
Hello,

I have a dataset with 2 DataTables : Groups and Persons. I make a
relation between this 2 DataTables using one DataColumn in each
datatable. Finally I use this dataset in a dataGrid. So I would like to
have a display like :

groupe1
groupe2
+ (person1)
+ (person2)
groupe3

Everything is ok.

But if I want to filter my query on person (for example birthday), My
gid display all groups and only the person corresponding to my filter.

I would like to know if there is a way to display only groups which
correspond to filter persons (if a group doesn't have persons
corresponding to my birthday filter, I don't want to display this group).

Does someone have got any idea?

Thanks a lot.

Mike
 
Reply With Quote
 
 
 
Reply

Thread Tools

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
JPA: problem with many to many relations loris_p Java 0 07-06-2008 09:55 PM
Best practice for combining typed DataTables for display in GridView J055 ASP .Net 2 11-01-2007 07:09 PM
RDOC: several related modules in several C files Victor \Zverok\ Shepelev Ruby 3 03-16-2007 04:15 PM
problem on saving object relations. shuisheng C++ 3 10-31-2006 06:19 AM
About datatables Ravindra ASP .Net 1 12-30-2005 12:33 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57