A dataGrid with a child DataGrid..

R

RSB

I have three Tables

Table1 .. which has Child records in Table2 which further has child records
in Table3.


Now i was thinking to Have a Datagrid for Table2 and then There should be
another child Datagrid for each Row of Table3..

Can i do it?? also how to HIDE the second Child Grid..

Any examples..

Thank you in advance

RSB
 
V

Vaibhav

I did something like this by creating the child grid at run time in the
parentgrid itemdatabound event. Also i had hidden the row by hiding the
cell on itemcommand event like click or something.

HTH
 
R

RSB

Hi Vaibhav,
Thanks for the reply. I think i wont or it wont work for me to create a
Child Grid in the Parent Grid.
so for you is that child gird is a Read only grid?? as i think i will end up
Editing and Deleting the child records.
But still is there any way i can have a look at the code...at least i can
get some Ideas..

Thank you

RSB
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,228
Members
46,816
Latest member
nipsseyhussle

Latest Threads

Top