Nested GridVIew-- parent and chaild will have same headers

I have to display data in nested grid views with dynamic columns. Parent and chaild will have same columns. so i donlt want to dsplay header for chaild gridview. But i want chaild grid view columns data displayed under parent grid view's corresponding columns. Plase help me with some example code.
dhmfgAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Daniel JungesCommented:
0
dhmfgAuthor Commented:
That is not what i want.

i am going to give you example. here is the data i want to display.

expand/collapse   jobnum     seq     qty   status1   status2   status3
          +                  20011        0        10        1            1             1
          +                  20012        0        10        2            2             2

when i click on + for jobnum 20011 i want to see the data like below

expand/collapse   jobnum     seq     qty   status1   status2   status3
          -                   20011        0        10        1            1             1
                              20011         1        2          2            2             2
                              20011         2         6         2            3             3
          +                  20012        0        10        2            2             2

This is the output i want. Status1,Status2,Status3 are dynamic columns. can u please provide some help.
0
Daniel JungesCommented:
hm, ...
you can set all child rows as Visible=false. Add an link on the "expand/collapse" column if childs are present. when the user click on this link the you can toggle those child rows to Visible=true.

hope tih help you.
0
dhmfgAuthor Commented:
I did put chaild rows in another grid view and when i click on + it is showing all the chaild rows. and when i click on - it is hiding the chaild grid. But the coluns are not intact with the parent row columns when i click on +. Can u please sujest any solution for this.
0
CtrlAltDlCommented:
I've been using the CompleteGridView control for about a year now and I've never used a GridView since.

http://code.msdn.microsoft.com/CompleteGridView
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.