This is a migrated thread and some comments may be shown as answers.

[Solved] Parent - Child Relationship

1 Answer 113 Views
Grid
This is a migrated thread and some comments may be shown as answers.
aung maw
Top achievements
Rank 1
aung maw asked on 29 Apr 2009, 12:04 AM
Hi, I have a orders  and orderdetails table.  I can use hierarchical representation of related data tables and that works fine.  But  how can i display one of the fields from orderdetails column in orders grid column.  for example, order id 1 has 3 order details.  so i want to display orderid, orderdetail1.orderdate, orderdetail2.orderdate, orderdetail3.date in a sigle grid without nesting.

please let me know.
thanks,

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 29 Apr 2009, 03:54 AM
Hi,

Use a join/union clause in your select statement to combine the data residing in different datatables(Order and Orderdetails) and then include the resulting fields in the RadGrid.

Shinu
Tags
Grid
Asked by
aung maw
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or