i'm developing a window form application.
i'm in need of placing custom control comprising of two labels within the cells of the datagrid view.
i have created the custom controls.Guide me to populate the cells with the custom control
I think you want to create your own editing control which implements IDataGridViewEditingControl. See the msdn documentation for IDataGridViewEditingControl Interface. There is an example at the bottom.
After you create your own editing control, you may need to create something like this: How to: Host Controls in Windows Forms DataGridView Cells
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With