Master Detail GridView?

I have a company that can have many point of contacts.

company is 1 to many pocs

I would like to build a grid for



Any help would be amazing.
if (!Page.IsPostBack)
                DataSet DSAssociateCompanies = new DataSet();
                DSAssociateCompanies = TicketLogic.GetAfftectedCompanyByTicketID(ticketID);
                grdTicketAffectedCompanies.DataSource = DSAssociateCompanies;
   if (!Page.IsPostBack)
                DataSet DSAssociatePOCs = new DataSet();
                DSAssociatePOCs = TicketLogic.GetAfftectedPOCsByTicketID(ticketID);
                grdTicketAffectedPOCs.DataSource = DSAssociatePOCs;

Open in new window

Who is Participating?
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.

Instead of Master Detail Grid view try a Treeview control available in Navigation Controls in Toolbox.
However still if you want to use gridview then use a gridview and use HTML formatiing to format your data as needed. With javascript you can easily write code to display or hide certain contents on a click. So you can actually achieve a windows explorer directory expand/collapse kind of functionality with custom javascript and datagrid. However you will have to load all data in one go.
With treeview control you have the option to load the data on need basis i.e. when user expands a tree node.
So choose what suits you better!!
I would recommend not to go for any 3rd party grid controls unless its unachieveable through built in tools.
David RobitailleAnalyst ProgrammerCommented:
i`m not sure to understand what you are talking about, but it`s look like nested gridview.
here an example of "nested gridview": 
Is that what you are looking for??? If yes, just type "nested gridview" in google and you will have many example. I could also provide more help on that subject, but i need you to start and give more info on where you are blocking.

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
mathieu_cuprykAuthor Commented:
this looks cool but.  we use to use the work the master-detail datagrid back in the day.
David RobitailleAnalyst ProgrammerCommented:
ok, but what is your question then????
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

From novice to tech pro — start learning today.