在C#Winform中嵌套DataGridView

问题描述:

大家好,

我必须在窗口应用程序中创建一个嵌套的datagridview,其中应该进行三层嵌套.

假设,在第一个DataGridView中,我必须显示项目经理的姓名和其他详细信息,单击任何经理名称后,该特定行应展开,并且在他下面的Leads列表应显示在第二个DataGridView中.
每当我们单击任何潜在客户的名称时,都应与Manager相同,所有Developers列表都应显示在第三个DataGridView中.

我已经在ASP.Net中完成了此操作,但现在我需要在window中执行相同的操作


请任何人可以帮助我..

谢谢
Raju Prajapati

Hi All,

I have to create a nesting datagridview in my window application, Where a three level of nesting should take place.

Suppose, In first DataGridView I have to Show The Project Manager''s Name and Other details, On click of any Manager name that particular row should expand and a list of Leads under him should be displayed in the second DataGridView.
And whenever we click on the name of any Lead, same as Manager all the Developers lists should be displayed in the third DataGridView.

This I have done in ASP.Net But now I need to do the same in window


Plz any one can help me..

Thanks
Raju Prajapati

答案不是确切的,但是它将使您对最初的疑问更加清楚.

按照elink进行学习.

如何在Windows窗体DataGridView单元格中托管颜色选择器组合框 [
the answer is not exact, but it will give you much more clarity over your initial doubts.

follow th elink to learn it.

How to Host a Color Picker Combobox in Windows Forms DataGridView Cells[^]

Anil