更新时间:2023-09-21 21:03:58
一种方法是将控件托管在Datagridview
列中.
Windows DataGridView列中的主机控件 [托管了MaskedTextBox的DataGridViewColumn [
One way to do this would be to host controls within the columns of theDatagridview
.
Host Controls in Windows DataGridView columns[^] should give you an example of hosting a calendar control inside a column.
Take a look at DataGridViewColumn Hosting MaskedTextBox[^] on hosting a masked edit control.
这将为您提供帮助.
通用DataGridView V2.0 [
This will help you.
Generic DataGridView V2.0[^]