Cell click event for unbound columns in datagridview
I want to display three comboboxz in a single cell of datagridview for a single column say date. I want to represent a list for day, month a开发者_C百科nd year each.
You must implement a custom control for grouping the three comboboxes then implement a custom grid column style for hosting the control, like described here:
How to: Host Controls in Windows Forms DataGridView Cells
(incidentally, the linked tutorial describes how to host a calendar control, which you may want to consider instead of the three comboboxes)
精彩评论