开发者

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)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜