datagrid related question

smriti

Regular
Joined
Jan 7, 2005
Messages
54
Hi all,

I have one problem with windows datagrid

In general when we want to display parent child relation data, we provide a relation between the parent table and child table. So when we click the parent record first it displays the relation name it displays the child records when we click on the relation name, and at a time only the child records of one parent record are displayed. And by the back button only we can move to the parent record from child records.

But my requirement is whenever the user clicks the + sign of parent record it will
immediately displays all the child records instead of showing relation name and i should be able to display child records of all parent records at a time. I.e., like how the treeview control works.

I should not any use third party control.

Please provide any soltion if u have.

I need this as soon as possible

Thank u in advance.
 
Machaira said:
If you have parent child tables in your dataset the datagrid should automatically handle displaying them correctly.

Thanks for your reply.
I am doing the same. I don't want to display the relation name before displaying the child records. I want to directly display the child records.
 
Back
Top