Search code examples
c#winformsdatagridviewcustom-controlscustom-object

Adding multiple, different controls to DataGridView


I want to make an object that represents a cell in DataGridView, containing a label, combo box, and a text box, and fill the cells in my table with these with different values.

I understand how to make a custom cell, but every article or tutorial I've seen is about only one control type per cell, and also very confusing for me.

I read this - DataGridView Control (Windows Forms)

But just cant figure it out..

So is there any way to make this kind of object?


Solution

  • You could try making user control with required controls and placing it inside DGV cell